Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
In below requirement,
If select India>5M then India column value should highlight red
If select USA>1M then USA column value should highlight red
Is this possible to select conditional filter in dropdown and display conditional formatting based on that?
Solved! Go to Solution.
@v-lili6-msftI have solved this problem.
1) I have created dimsion table Country, with India>5M and USA>1M as values
2) I have created two measures
measure1=VAR HAPP1 = VALUES(Table1[India]) RETURN IF ( ABS(HAPP1 ) > 5000000 ,1)
measure2=VAR HAPP2 = VALUES(Table1[Americ]) RETURN IF ( ABS(HAPP2 ) > 1000000 ,2)
3) Then i have created third measures which will call above two measures
measures3=
4) Go to conditional formatting,select measure3 in rules and select value 1 and 2 for red .
hi, @atul9063
After my test, you could this way as below:
Step1:
Create a highlight table map to region field (USA, India, etc.) of basic table
For example
basic table
mapping table
Note: Do not create a relationship between them
Step2:
Create a measure like this
Measure = IF(SELECTEDVALUE('Table 2'[Type])=SELECTEDVALUE('Table'[Type]),1)
Step3:
Set Conditional formatting like below:
Result:
Best Regards,
Lin
@v-lili6-msftI have solved this problem.
1) I have created dimsion table Country, with India>5M and USA>1M as values
2) I have created two measures
measure1=VAR HAPP1 = VALUES(Table1[India]) RETURN IF ( ABS(HAPP1 ) > 5000000 ,1)
measure2=VAR HAPP2 = VALUES(Table1[Americ]) RETURN IF ( ABS(HAPP2 ) > 1000000 ,2)
3) Then i have created third measures which will call above two measures
measures3=
4) Go to conditional formatting,select measure3 in rules and select value 1 and 2 for red .
hi, @atul9063
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Best Regards,
Lin
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |