cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
diegomartinop
Frequent Visitor

Convert measure to table in DAX

Hi all

 

I need to convert this DAX measure 

 

Measure =
CALCULATE(
   MAX('Table 1'[Status]),
   FILTER('Table 1','Table 1'[Level]=MAX('Table 1'[Level]))
)
 
into a new table. I tried with CALCULATETABLE and MAXX but it does not work.
 
The data I have is as follows:
Table 1:
NameLevelStatus

Extract 2D plans

APSHigh
Extract 2D plansEXEMedium
Extract 2D plansLIVLow

Other Function

APSMedium
Other FunctionEXELow
Other FunctionLIVHigh

 

And what I want is as follows:

NameAPSEXELIV
Extract 2D plansHighMediumLow
Other FunctionMediumLowHigh

 

Thanks in advance.
1 REPLY 1
Anonymous
Not applicable

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors