cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
panoslaz Regular Visitor
Regular Visitor

Manage dependencies within measures

Hi

I have the following problem.

 

I have a huge list with brand values per country/category. 

 

I need to make a simple division between the number of rows that fullfil a requirement (that will be dependent from a numeric slicer, say "value growth") and the total number of brands within that category. 

 

Thus, the slicer should affect only the numerator but not the denominator. 

 

The measure will be displayed in a KPI vis, demonstrating how many brands % achieved this value growth you selected in the slicer...

 

I will though have more slicers in that page, that would allow users to choose countries/ categories. 

These slicers should affect both numerators and denominators. 

 

I tried many ways, I created a pivot table in my source excel with total number of brands per country/category and although I established relationship it doesnt work. 

 

i think the best way would be to use filter functions but I really cannot land it, any ideas/ help? 

 

Thanks 

Panos

1 REPLY 1
Highlighted
v-cherch-msft Super Contributor
Super Contributor

Re: Manage dependencies within measures

Hi @panoslaz

 

It seems you may add a slicer table "value growth". Then you may use SELECTEDVALUE Function to store the slicer value in a variable. Then the slicer value can be used to only affect the numerator. Below is the post which used the same way. If it is not your case, please share some simplified sample data for your scenario so that we could help further on it.

 

https://community.powerbi.com/t5/Desktop/What-if-calculation-based-on-selected-value-in-slicer-not/m...

 

Regards,

Cherie

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

Helpful resources

Announcements
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 295 members 2,761 guests
Please welcome our newest community members: