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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
harryli
Helper II
Helper II

the max formula is not taking the max. value

Dear all,

the power query editor data:

harryli_1-1663232294821.png

the formula is :

Max_consult_time = CALCULATE(MAX(dashbd_reg_count_time[current_minus_consult]))
 

the dashboard is:

harryli_2-1663232397419.png

 

as you may see the max is not taking the max. value.

 

1 REPLY 1
Smalfly
Responsive Resident
Responsive Resident

Hi @harryli ,

 

Looks like the max function is treating the initial column as text while you see it as something numeric.

Can you try to change the format of your original 'current_minus_consult' column to whole number/decimal number?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.