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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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