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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RitaMunha
Helper I
Helper I

Create relation between measure and table - use slicers

 

Hi everyone,

Need help!

I´m dealing with a problem with my dashboard. It seems that i`m not able to filter my list of users based on a scale slicer and i can`t even see in my doughnut graph wich users are included in certain scale

Context:

I needed to calculate the average of points by user and determine the corresponding level (based on a scale) taking into account the start date and end date, that is, the average had to vary dynamically according to the defined interval. For this I used 2 measures:

 
Average points = AVERAGE(Data[Points])
 
COunt = COUNTROWS(FILTER(ADDCOLUMNS(VALUES(Data[User]);"ABCD";CALCULATE([Average points];CALCULATETABLE(VALUES(Data[User]));ALLSELECTED()));COUNTROWS(FILTER(Segments;[ABCD]>=Segments[Lower limit]&&[ABCD]<=Segments[Upper limit]))>0))+0

 

With this i was i able to create de doughnut graph. The problem is:

1) i want to use a slicer that filter de doughnut and the list of users, but i but I don't know how to create this relationship while maintaining the dynamic model

2) I also need to be able to see wich users are in certain scale, selecting part of the doughnut graph

Create relation.jpgI`ve attached a file to simplify the understanding.

here

 

Thanks in advance

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @RitaMunha 

 

Actually the only change that you need is adding your COunt Measure, as a Visual filter, please see the below.

image.png

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @RitaMunha 

 

Actually the only change that you need is adding your COunt Measure, as a Visual filter, please see the below.

image.png

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



 

Thank you so much @Mariusz !! I still have too much to learn... :S

 

Could you suggest some online courses? 

 

thanks again! Be safe 🙂

Mariusz
Community Champion
Community Champion

Hi @RitaMunha 

 

This article explains how to do it

https://www.daxpatterns.com/dynamic-segmentation/

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors