Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper III
Helper III

Is there any bug with conditional formatting condition when connect to SQL,direct query?

Hi all,
Is there an error when apply conditional format with data from  SQL, direct query? ,as in picture it work with excel but not work with SQL,direct query 


thankyou in advance for your help

Best Regard 

Frequent Visitor

Hi @firstch,


Please note: MAXX function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.


For more information, please refer to: MAXX function (DAX) - DAX | Microsoft Docs


Best Regards

Super User
Super User

@firstch , can you put the total and that maxx(all(Table), [Total])  in visual and check


Also, make sure the total is a measure and Max Value CF is also a measure

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors