Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |