Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Jelle-Scheper
Advocate I
Advocate I

DirectQuery Connection Showing Format Strings Instead of Numeric Values

 

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:

Measure:
NetSales = SUM(FactSalesLine[TotalExclVat])
formatString: "€"\ #,0;-"€"\ #,0;"€"\ #,0
 
When using DirectQuery, this behavior occurs, yet it seems different when using a Live Connection.

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:

JelleScheper_0-1741356159472.jpeg

 

Behavior on Live Connection:

JelleScheper_1-1741356171753.jpeg

 

9 REPLIES 9
v-sathmakuri
Community Support
Community Support

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!!

v-sathmakuri
Community Support
Community Support

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!!

v-sathmakuri
Community Support
Community Support

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.

 

ARekha_0-1744205116993.png

 

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.

 

NetSalesFormatted =
FORMAT(SUM(Customers[ID]), "-€\ #,0")
 
vsathmakuri_0-1744813318942.png

 

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!!

Jasper_YourBI
Regular Visitor

I am also facing this issue - no clear solution so far.

Anonymous
Not applicable

I'm having similar issues.. Haven't found a working solution so far

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors