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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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