Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
My PowerBI skills are fairly basic so apologies if this query sounds like a child wrote it! I have a line and clustered column chart visual showing the numbers of people who 'released' on a particular day (column) and the cumulative total of people 'releasing' (line). I have a slicer that is supposed to filter this data according to the department these people are in. For some reason, the slicer is filtering the columns (the daily totals) but not the line (the running total). I want it to filter both! The daily and cumulative totals are both measures from the same data table. I can't work out why the slicer affects one but not the other. Any suggestions?
Solved! Go to Solution.
@HM615 , if you are using all in cumulative like in given example filter will not pass
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Cmm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALL('date'[date]),ORDERBY('Date'[date],ASC)))
But you can use allselected
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
Cumm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALLSELECTED('date'[date]),ORDERBY('Date'[date],ASC)))
@HM615 , if you are using all in cumulative like in given example filter will not pass
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Cmm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALL('date'[date]),ORDERBY('Date'[date],ASC)))
But you can use allselected
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
Cumm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALLSELECTED('date'[date]),ORDERBY('Date'[date],ASC)))
Thank you so much! That's done it. I swapped ALL for ALLSELECTED in my measure and it's working now. Thank you!!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |