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.
Hello,
I have following data model (fixed, cannot used both direction filters that solves my issue )
And my goal is to create report with 2 slicers (date and location) with condition that one slicer will involve second one (keep condition that current data model fix)
so if I will choose range of values, then range of location will be also changes (based on the date range)
I tried to put DAX field into location slicer, but it doesnt help, my guess was something like that:
@Petr__ , If I understand correctly, you wanted to have your slicers interact with each other. Slicers won't support measures. But I have a workaround,
IsLocationHasSales = CALCULATE(COUNT(Sales[ID_Location]),CROSSFILTER(Sales[ID_Location],Location[ID_Location],Both))
Hope this helps!
Hi @SivaMani ,
unfortunatelly it doesn t work, I create measure as you mention,
but I don t understand what you mean by "Add this measure as a visual filter to Location Slicer" you wrote that slicers doesn t support measures therefore I dont t know where to assign it, for filter I set up it correctly
thanks 🙂
@Petr__ Select the slicer that has the Location Column added and drag the measure to Filter on this visual section in the filter pane as shown below,
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 |
---|---|
45 | |
28 | |
21 | |
11 | |
8 |
User | Count |
---|---|
77 | |
50 | |
46 | |
16 | |
12 |