Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I need a measure that the Logic is IF the Level from Table 1 is NOT EQUAL TO Level from Table 2 THEN "PROMOTION", If not THEN "" or BLANK
| Table 1 | Table 2 | |||
| Level | Name | Level | Name | |
| 12 - Associate | natalia | 11 - Analyst | natalia |
How can I do this ?
Thanks
Solved! Go to Solution.
Hi @cristianml
How do the two tables relate?
If they have a relationship as below
Then you could create a measure like this
Measure = IF(MAX(Table1[Level])<>MAX(Table2[Level]),"PROMOTION",BLANK())
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @cristianml
How do the two tables relate?
If they have a relationship as below
Then you could create a measure like this
Measure = IF(MAX(Table1[Level])<>MAX(Table2[Level]),"PROMOTION",BLANK())
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-juanli-msft ,
It works but I need to add another variable to say that If column "Name" is equal then "yes". This is Because sometimes I have NEW people and in those cases the previous formula put yes to the promoted measure:
I tried but I donot know where is the error:
I do not quite understand what you need, but you know the function ISINSCOPE. Returns true when the specified column is the level in a hierarchy of levels.
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 |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |