Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
faisalshafi
New Member

Measure

Dear All,

 

I need your help, I have a measure of “Gross Revenue” which I am applying on a table (visual) alongwith a column of “Segment”.  It is showing results properly.  I have also made a measure to get lowest revenue by segment successfully using MinX DAX.


But problem is that I need another measure to get the name of that segment where gross revenue is lowest.


For highest gross revenue, I have used RankX DAX and to get name of segment with highest gross revenue I have used FirstNonBlank.  But in case of lowest gross revenue FirstNonBlank is not working.

 

Regards

4 REPLIES 4
Ritaf1983
Super User
Super User

Hi @faisalshafi 
If I understand you correctly,
The answer to the question in the link may be helpful.
https://community.powerbi.com/t5/Desktop/Return-a-category-name-associated-with-a-minimum-value/td-p...
Please upload a file with your example and the desired result if not.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I have tried the referred reply with some modification but I could not get the result.  Actually, in my case Gross Revenue is a measure which is based on another table, however, Gross Revenue is not a column therefore I think I need different solution.

However, thanks for your response.

Would you be able to share a file with an example so that I can better understand the requirements?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks, I got a workaround solution but I could not make required measure.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.