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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.