March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Solved! Go to Solution.
Hi @Anonymous,
For your logic, you could try this measure below.
currency = VAR maxdate = CALCULATE ( MAX ( 'Table1'[DATE] ), ALLEXCEPT ( Table1, Table1[ID] ) ) RETURN CALCULATE ( MAX ( 'Table1'[Status] ), FILTER ( 'Table1', 'Table1'[date] = maxdate ) )
In addition, it seems that your desired output is like a matrix in Power BI.
However, I'm afraid that we may not achieve that the same output like your desired output in Power BI.
The most we can achieve is like below.
You also could have a reference of the attachment.
Best Regards,
Cherry
@Anonymous
Please see if this is what you want. Thanks.
Table = FILTER(SUMMARIZE(Sheet26,Sheet26[ID],Sheet26[STATUS],"MAXDATE",MAX('Sheet26'[DATE])),Sheet26[STATUS]="##")
Proud to be a Super User!
That is very close ryan!! You are a star for deciphering this.
I have:
I want (columns 1-5 are teh status, and the last column is the current status):
@Anonymous
Is this ok for your?
testtable = SUMMARIZE(Sheet26,Sheet26[ID],Sheet26[STATUS],"MAXDATE",CALCULATE(MAX('Sheet26'[DATE]),ALLEXCEPT(Sheet26,Sheet26[ID],Sheet26[STATUS])))
Proud to be a Super User!
Yes, the table on the right is the one that I want to make.
As a standalone table, as further calculations will be performed on that table
Hi @Anonymous,
For your logic, you could try this measure below.
currency = VAR maxdate = CALCULATE ( MAX ( 'Table1'[DATE] ), ALLEXCEPT ( Table1, Table1[ID] ) ) RETURN CALCULATE ( MAX ( 'Table1'[Status] ), FILTER ( 'Table1', 'Table1'[date] = maxdate ) )
In addition, it seems that your desired output is like a matrix in Power BI.
However, I'm afraid that we may not achieve that the same output like your desired output in Power BI.
The most we can achieve is like below.
You also could have a reference of the attachment.
Best Regards,
Cherry
The table you made in the visual on the right is the final table I want to generate via DAX calculation, as computations will be performed on that.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |