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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Pls help to create DAX query for the following requirement....
Requirement - Change the Color of State on Map according to the status of City with respect to the Air Quality and Water Quality parameters.
Each State has approx 100 cities
Each City has several Air Quality and Water Quality parameters.
If Water Quality is Ok for all the cities in that State, then check Air Quality, if OK then Green Else Yellow, else Red(if water quality is OK).
Thanks in Advance.....
Hi @arhantjain,
Any update on this? Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Can you quickly copy and paste the data set and rephrase the logic you wanted?
Regards,
Atma.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |