Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a simple YTD chart with a measure in the value field but it's being impacted by a period slicer that I have on a centralised slicer page. I have tried using the ALL flter function but it just doesn't seem to work.
My measure is this...
YTD Chart = CALCULATE( [MEASURE1], ALL(Period) )
I've used these type of things before and never had the problem but for this one it just won't ignore this period slicer.
Any ideas?
Thanks,
Ben
Solved! Go to Solution.
I've managed solve the issue using ALLEXCEPT function!
Thanks everyone,
Ben
Is your period slicer created from a different table to the one you are putting in the All function? Is so you'll need to switch to refering to the column you are using in your slicer.
I've managed solve the issue using ALLEXCEPT function!
Thanks everyone,
Ben
Hi, No the period slicer is in my date table and is also the same one I'm referring to in my ALL function. The only thing I can assume is causing the issue is that the measure I'm using has some dax within it that does some filters on other date fields.
So it's like
Measure = Calculate( SUM('Table2'[COST]),'Date'[WeekEndDate] < today()-1)
Then I have another measure which is causing the issue...
YTD Chart = CALCULATE( [MEASURE1], ALL(Period) )
I haven't tried amending the measure 1 because it is used else where within the report that needs to work off the period slicer, so I created the YTD chart measure to work seperate and ignore the periods.
Hope that makes sense.
Hello,
Try this measure
If I answered your question, please mark my post as solution, Appreciate your Kudos!
Proud to be a Super User! | |
Hi mate, that doesn't do anything. The chart is still effected by whatever period you have selected on the slicer.
okay then try this
Proud to be a Super User! | |
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
109 | |
100 | |
95 | |
38 | |
37 |
User | Count |
---|---|
152 | |
125 | |
75 | |
74 | |
63 |