Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in BI by (11.1k points)
I want a DAX equation,and I want to return a text feild based on maximum returned by a measure which is applied over the filter

How can I do this?

1 Answer

0 votes
by (22.5k points)

Use the following measures:

newMeasure = 
    VAR vals = SUMMARIZE('Table', 'Table'[Column1], "myMeasure", [Measure])
    VAR measureMax = MAXX(vals, [myMeasure])
    VAR value = CALCULATE(MAXX(FILTER(vals, [myMeasure] = measureMax), [Column1]))
RETURN
    value  

If u want to learn the tool in-depth, then come to us and sign up for this Power BI Certification     

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.7k questions

32.8k answers

500 comments

109k users

Browse Categories

...