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
Decter3343
Frequent Visitor

Calculation with Slicer selection.

Hi. 

below is my request. i have been tried several way. but it was not working. 

 

1. Table1 has dozens of product name columns like A, B, C, and D. And there is a column the  region of production 
2. I will Select Region for Slicer1.
3. When I select a specific product in Slicer1, I want to assign 10 points to that product and 5 points to the others.
4. i will show point status in the chart.

I can't implement it well with the if function. If there is a way, I'd appreciate it if you let me know.

thanks in advanced

1 ACCEPTED SOLUTION
Manokamna
Advocate IV
Advocate IV

Create a new measure using Swtich 

View solution in original post

2 REPLIES 2
Manokamna
Advocate IV
Advocate IV

Create a new measure using Swtich 

thans for response. but i have a question.

 

Do you mean that if there are 100 regions, each region should be reflected in the functional equation?
Then it is required to make 10,000 if functions in the formula. (100 x 100 = 10,000)

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.