Forum Discussion

faisalshafi's avatar
faisalshafi
New Member
3 years ago

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

    • faisalshafi's avatar
      faisalshafi
      New Member

      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.

      • Ritaf1983's avatar
        Ritaf1983
        Super User

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