Showing results for 
Search instead for 
Did you mean: 
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

!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors