The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
I have a table with a few columns. One is a value column (call it Column 4) and I have created a DAX formula to find the MAX in that column.
I want to return the value, which is TEXT, from column 5 that corresponds to the row in column 4 from the MAX formula.
How do I do this. It's simple in Excel.
Please help.
Solved! Go to Solution.
Hi @Anonymous
you may try
MAX ID =
CALCULATE (
MAX ( 'Sense Check Checklist'[ID] ),
'Sense Check Checklist'[No of issues]
= MAX ( 'Sense Check Checklist'[No of issues] )
)
Hi Greg
Thank you. See example data below. I hope this helps you to help me.
I have a DAX Measure to find the MAX of 'No. of issues' column (
Hi @Anonymous
you may try
MAX ID =
CALCULATE (
MAX ( 'Sense Check Checklist'[ID] ),
'Sense Check Checklist'[No of issues]
= MAX ( 'Sense Check Checklist'[No of issues] )
)
Apologies.
Thank you tamerj1
That's great, Thank you tamerj1
I too found a solution by creating a New column:
@Anonymous Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.