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.
Hi
I have this schema:
I have a slicer Type that is a column from Components table
When selecting one of the values in this slicer i want to calculate and filter(in Donut chart visual) how many projects have customers based on this slicer seletected value
IF i make relationship bidirectional between components and projects i can achieve this but i know bidirectional relationships are evil so i want to use visual level filters but i can't figure it out how to do that.
Can you please help
Solved! Go to Solution.
Hi, @jja
You can create a measure and use it in visual.
Like this:
Measure = COUNTX(filter(ALL(projects),[projectID] in DISTINCT(components[projectID])),[CustomerID])
//COUNTX(filter(ALL(projects),[projectID] in DISTINCT(components[projectID])),[projectID])
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Hi, @jja
You can create a measure and use it in visual.
Like this:
Measure = COUNTX(filter(ALL(projects),[projectID] in DISTINCT(components[projectID])),[CustomerID])
//COUNTX(filter(ALL(projects),[projectID] in DISTINCT(components[projectID])),[projectID])
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
95 | |
94 | |
79 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |