Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hello Power BI Community,
We've encountered an issue when connecting to our semantic model using DirectQuery—most values in our dashboards are now being displayed as format strings rather than the expected numerical values.
For example, here's one of our measures:
Is there any documentation or known guidance on how formatting should behave under DirectQuery, or are we missing a specific configuration to correct this? Any insights or pointers would be greatly appreciated.
Thanks in advance for your help!
Behavior on DirectQuery:
Behavior on Live Connection:
Hi @Jelle-Scheper ,
I hope this information proves helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.
Thank you!!
Hi @Jelle-Scheper ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you!!
Hi @Jelle-Scheper ,
Thank you for reaching out to Microsoft Fabric Community.
I used the same measure that you provided and tried to replicate the issue, but it’s working fine on my end. Please see the screenshot below for reference.
Please try installing the new version of power bi desktop file from here (https://www.microsoft.com/en-us/download/details.aspx?id=58494 ). Let us know if you are still facing the same issue.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks & Regards,
Rekha,
Customer Support Team.
The problem presented itself in Power BI Service as well. Updating desktop versions was not the solution.
Hi @Jelle-Scheper ,
You can apply the FORMAT function as shown below to achieve the expected results, even when using DirectQuery mode. This approach has worked for me, please refer to the screenshot below for reference. Let me know if it doesn’t work on your end.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you!!
That would result in an unsortable measure in tables as you would sort on a text data type. We've found our own solution now that does not involve such comprimises. Thanks!
Hi @Jelle-Scheper ,
Glad to hear you found a solution! If possible, could you please share it here and mark it as the accepted answer? It would be really helpful for others who might run into the same issue.
Thank you!!
I am also facing this issue - no clear solution so far.
I'm having similar issues.. Haven't found a working solution so far
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
79 | |
72 | |
71 | |
54 | |
51 |
User | Count |
---|---|
45 | |
38 | |
33 | |
31 | |
28 |