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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ratri
Frequent Visitor

Measure Distinctcount correct on desktop & wrong when published

Hi, 

 

i have following formula to calculate the number of visits: 

CALCULATE(DISTINCTCOUNT(CRM[Vorgänge]);FILTER('Aktivität CRM_9';'Aktivität CRM_9'[Bezeichnung]="Besuch");all(Team_6[Team])) 
in the desktop version the calculation is correct, I can see per customer either 4 or 6 visits per year. However, whne I publish the data, then I see only 1 per customer. So the measure is no more calculated. 
 
What could be the issue for it? I have other similar measures, f.e. quantity of orders, but there such an issue is not appearing. 
 
Deleting the measure and create a new one, did not help. 
 
Thanks! 
Regards, 
1 ACCEPTED SOLUTION
ratri
Frequent Visitor

Just found out the issue. 

 

Reason was that the query changed the text format to decimal numbers. I converted it back to text format again. 

After I deleted in the query the step for decimal number conversion and kept the format for column "Vorgänge"  as text. The issue was solved. 

View solution in original post

1 REPLY 1
ratri
Frequent Visitor

Just found out the issue. 

 

Reason was that the query changed the text format to decimal numbers. I converted it back to text format again. 

After I deleted in the query the step for decimal number conversion and kept the format for column "Vorgänge"  as text. The issue was solved. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.