Skip to main content

Is there any method for specifying encoding hints for SSAS in the semantic layer? If not, this could be useful and very easy to implement. 

 {
    "name": "Sales Amount",
    "dataType": "decimal",
    "sourceColumn": "SalesAmount",
    "formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
    "sourceProviderType": "Currency",
    "encodingHint": "Value"
  }

Hi Fredrik, 

Apologies for the late response. There is currently no native functionality for specifying encoding hints for a semantic model. However, if using the latest version of our software, it might be possible to implement a PowerShell script to edit the semantic model and add encoding hints.