Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!>.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
52 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |