Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
We have a few main models that our team maintains on Power BI service. When using thin report that connects to one of these models using the DirectQuery to AS or Power BI datasets (preview) feature, the format strings on all the measures are all different from original model.
Some get converted to currency format, others are just whole numbers with no thousands. Most annoyingly, those that had percentage formats are converted to decimal formats. I think it is based on the inferred data type of the measure.
I can manually change them again after the fact, but there are a LOT of measures. Sure would be nice if the original format string was just used by default instead of it defaulting to new ones based on data type.
I also noticed when I open the local model with Tabular Editor there are hidden "Format String" measures, one for each measure in the original model. I don't know what purpose those serve.
E.g. hidden "format string" measure
EXTERNALMEASURE("_Sales FormatString", CURRENCY, "DirectQuery to AS - Transactions")visible measure
EXTERNALMEASURE("Sales", CURRENCY, "DirectQuery to AS - Transactions")
Hi @mattcarter865 ,
Before using DirectQuery for Power BI datasets and Analysis Services, please uncheck the option "Detect column types and headers for unstructured sources" in the Options page. Then restart Power BI Desktop and connect to them. Later check if it can keep the original format...
Best Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |