Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I have 2 tables
Ddate
Date | Month | Month Year |
4/1/2024 | 4 | April 2024 |
3/1/2024 | 3 | Mar 2024 |
4/28/2024 | 4 | April 2024 |
3/3/2024 | 3 | Mar 2024 |
4/27/2024 | 4 | April 2024 |
4/29/2024 | 4 | April 2024 |
4/30/2024 | 4 | April 2024 |
Revenue
Value | Record Date | Customer |
30 | 3/1/2024 | A |
100 | 3/1/2024 | C |
200 | 4/27/2024 | A |
30 | 4/28/2024 | A |
60 | 4/27/2024 | C |
80 | 4/27/2024 | B |
40 | 4/28/2024 | B |
50 | 3/1/2024 | B |
90 | 4/28/2024 | C |
They are both connected by Date-Record date
I want to create a measure for revenue value at the maximum date in Revenue table, ignoring the Monthyear filter
For example, if i selected Mar 2024, and customer C, I want to show the revenue on the max date (04/28/2024), which is 90.
when i used
Thank you in advance!
Solved! Go to Solution.
@Shinyl Try:
Measure =
VAR __MaxDate = MAXX(ALL(Revenue[RecordDate]),Revenue[RecordDate]))
VAR __Result = SUMX( FILTER( ALLEXCEPT('Revenue', [Customer]), [RecordDate] = __MaxDate ), [Value] )
RETURN
__Result
Hi,
PBI file attached.
Hope this helps.
@Shinyl Try:
Measure =
VAR __MaxDate = MAXX(ALL(Revenue[RecordDate]),Revenue[RecordDate]))
VAR __Result = SUMX( FILTER( ALLEXCEPT('Revenue', [Customer]), [RecordDate] = __MaxDate ), [Value] )
RETURN
__Result
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
51 | |
47 |
User | Count |
---|---|
45 | |
38 | |
33 | |
30 | |
28 |