March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |