Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I created a simple view of 3 columns, (city name, date of completion for that city, a flag as 1 for filtering cities with completion date) like below
now i created a measure (like a new column) to find a running total of completed cities as date move forward like below: (expected column for running total)
I wrote a below Measure and surprisingly its working on my personal machine, but not working on my work machine.
Measure = CALCULATE(SUM(MYVIEW[FLAG]), FILTER(ALL(MYVIEW[COMPLETIONDATE]),MYVIEW[COMPLETIONDATE]<= MAX(MYVIEW[COMPLETIONDATE])))
Instead I get below reponse :
what am i doing wrong, as i said, same query is working fine on my personal laptop
Solved! Go to Solution.
Try This
Measure = CALCULATE(SUM(MYVIEW[FLAG]), FILTER(ALL(MYVIEW),MYVIEW[COMPLETIONDATE]<= MAX(MYVIEW[COMPLETIONDATE])))
Proud to be a Super User!
Try This
Measure = CALCULATE(SUM(MYVIEW[FLAG]), FILTER(ALL(MYVIEW),MYVIEW[COMPLETIONDATE]<= MAX(MYVIEW[COMPLETIONDATE])))
Proud to be a Super User!
Thanks Farhan, That resolved it 🙂
so for my future understanding, we shuld apple to undo the filter on all columns, rather then jus one column ....
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!