Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all!
I need your help again.
So,
Measure = VAR FILTER2 = FILTER(ALL(Calendary) ; Calendary[Date] <= MAX(Calendary[Date])) VAR FILTER1 = FILTER(ALLSELECTED(Transactions) ; TRUE()); RETURN CALCULATE ( CALCULATE(SUM(Transactions[Cost]) ; FILTER2 ) ; FILTER1 )
Im using for cumulative sum FILTER2, but it's not working -- why?
Hi @Lewa,
There is a Quick Measure feature in Power BI Desktop which can be accessed from the ellipsis that appears when you hover a measure. It can generate a DAX formula similar to below:
CALCULATE ( SUM( 'PMBudgetMonitor'[Cost] ), FILTER ( ALLSELECTED ( 'Dates'[Date] ), ISONORAFTER ( 'Dates'[Date], MAX ( 'Dates'[Date] ), DESC ) ) )
Also, a well-structured question with sample data and expected output can get a better response and possibly a faster resolution.
Proud to be a Super User!
Hi,
Please explain the question. Share a dataset and show the expected result.
@Ashish_Mathur Hi,
share -- sample pbix, where:
FILTER1 = required filter
FILTER2 = cumulative filter
Problem is:
without FILTER1 its work correct,
with -- nope.
Hi,
I still do not understand the question. Please explain the business question and show your expected result.
share -- sample pbix, where:
filter1 = required filter
filter2 = cumulative sum
without filter1 its work correct, with -- nope <its problem!>.
User | Count |
---|---|
98 | |
91 | |
84 | |
72 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |