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
Anonymous
Not applicable

Dynamic TOP Customers/Others Column

I want to make a calculated column for "TOP" and "Other" Customers. I use the column "Cust Rank" for the separation. 

It works fine except that it should be applied to the top customers of the current year. In the example below top customers from last year should be "Rest". 

 

I guess it comes down to the question how I can change the DAX below so that column" Cust Rank" is filtered by the selected year. (In this case 2018) 

 

Thanks for any kind of suggestions. 

Matt

 

PS: The Column "Cust Rank" ranks the Customers in every year based on total Sales. 

 

 

06-03-_2019_13-20-04.png06-03-_2019_13-21-36.png

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Anonymous ,

 

The returned result by a calculated column is static once it is initialized. In your scenario, to get dynamical Cus_rank and Top/Other Customers based on slicer selections is not possible.

 

Regards,

Yuliana Gu

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

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous ,

 

The returned result by a calculated column is static once it is initialized. In your scenario, to get dynamical Cus_rank and Top/Other Customers based on slicer selections is not possible.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Ok, thx. Any ideas how to solve this though?

I guess I could change the measures to get the expected results. I thought it might be possible with the calculated column..

 

Anyway thx for the reply..

 

Matt

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.