Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am new to DAX and need some help creating a formula that says, If a particular column has a value greater than 15k, label it "A", If that column is greater than 60k, label it "B".
Can someone recommend a formula example that will help me get started?
Thanks in advance!
Solved! Go to Solution.
Another way to do this would be something like:
Column = SWITCH( TRUE(), [Column1]>15000,"A", [Column1]>60000,"B", "C" )
Another way to do this would be something like:
Column = SWITCH( TRUE(), [Column1]>15000,"A", [Column1]>60000,"B", "C" )
Hey @LeanneShapro
It would be something like:
Column = IF( Table[Column] > 60000, "B", IF( Table[Column] > 15000, "A", BLANK() ) )
The BLANK() is serving as the else condition and you can change this to make it whatever value you want.
Hope this helps,
Parker
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
103 | |
98 | |
98 | |
38 | |
37 |
User | Count |
---|---|
152 | |
120 | |
73 | |
72 | |
63 |