Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
firstch
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
@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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 7 | |
| 6 |