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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Nivedita
Regular Visitor

Display the max value in a column

Hello everyone

 

Nivedita_0-1641813037875.png

 

I want to display 7.8% on the card but it gives - 0.08 as net growth rate. 

 

I've added an index column to the table and used the below formula.

The formulae that I used - 

NetGrowthRate = CALCULATE(MAX(Overall[Net Growth Rate]),FILTER(Overall,Overall[Index]=MAX(Overall[Index])))
 
Need help. Thank you.
1 ACCEPTED SOLUTION

Hi,

Select the measure and change to % in the measure tools that appears when you select the measure

 

Thejeswar_0-1641814900967.png

 

View solution in original post

5 REPLIES 5
Thejeswar
Resident Rockstar
Resident Rockstar

Hi @Nivedita ,

Your DAX will try to return the Net Growth Value in the row with Index that matches the Max Index value. I used the same DAX the you gave

 

By that case, 0.08 is returned as the Index for that record is greater and matches with the MAX of Index column

This 0.08 if you convert as % will show 7.8% which is the record with max value for index

 

Thejeswar_0-1641814770070.png

 

Hello Thejaswar. How do I show it in percentage?

Nivedita_0-1641814685611.png

My bad, looks like it's displaying the decimal value. How do I make it 7.8%?

 

Thank you for your response.

 

Hi,

Select the measure and change to % in the measure tools that appears when you select the measure

 

Thejeswar_0-1641814900967.png

 

Thank you very much.

Samarth_18
Community Champion
Community Champion

Hi @Nivedita ,

 

Hope you have tried with directly taking max of Net Growth Rate column in Card visual like below:-

 

Samarth_18_0-1641813566303.png

or If its affecting due to any other field then you can try below code in measure and use it on card visual:-

Measure =
CALCULATE (
    MAX ( 'Overall'[Net Growth Rate] ),
    ALLEXCEPT ( 'Overall', 'Overall'[Net Growth Rate] )
)

 

Thanks,

Samarth

 

 

 

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.