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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ustinovdl
Helper I
Helper I

How come?!

Turnover = sum('Main data'[TURNOVER.]) 

 

Turnover on client = CALCULATE([Turnover];VALUES('Main data'[Payer id]);all('Main data'[Turnover cohort 8000]))

 

Turnover cohort 8000 = SWITCH(TRUE();
[Turnover on client]<2000;"0-2000";
AND([Turnover on client]>= 2000;[Turnover on client]<4000);"2000-4000";
AND([Turnover on client]>= 4000;[Turnover on client]<6000);"4000-6000";
AND([Turnover on client]>= 6000;[Turnover on client]<8000);"6000-8000";
[Turnover on client]>= 8000;"8000+")

 

Безымянный.jpg

 

Turnover on client is correct but I got 2 lines per client with Service Utilities!

How Can I receive correct table where line with Utilities will be in the "4000-6000" cohort?!

 

 

Help me, please!

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Ustinovdl,

 

The values of [Transactions] are different.

http://community.powerbi.com/t5/Desktop/Count-Function-Issue-When-Adding-Additional-Column/m-p/33722...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I don't undestand You...

Ustinovdl
Helper I
Helper I

Data like this:

2.jpg

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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