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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.