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 tried to make a new column by adding a if statement in dax,
Status ASL = IF ( 'Fct rituitval'[Uitval gedeeltelijk (#)] = 1, "Gedeeltelijk gereden",
IF ('Fct rituitval'[Uitval volledig (#)] = 1, "Niet gereden"))
It makes values that got 1 in 'Uitval gedeeltelijk change into "Gedeeltelijk gereden" and it makes values that got 1 in "Uitval volledig" change into "Niet gereden". Blank values that doesnt has "Uitval gedeeltelijk" or "Uitval volledig" changes into values that duplicate the value "Gedeeltelijk gereden" or "Niet gereden". I just want them to change into the value "Gereden" or it just has to be blank. Why does it duplicate the other values? And can anyone help me out PLS
Solved! Go to Solution.
Hi, @Anonymous
Please check the following methods.
Column:
Status ASL =
IF (
'Fct rituitval'[Uitval gedeeltelijk (#)] = 1,
"Gedeeltelijk gereden",
IF ( 'Fct rituitval'[Uitval volledig (#)] = 1, "Niet gereden", "Gereden" )
)
Is this the result you were expecting?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Please check the following methods.
Column:
Status ASL =
IF (
'Fct rituitval'[Uitval gedeeltelijk (#)] = 1,
"Gedeeltelijk gereden",
IF ( 'Fct rituitval'[Uitval volledig (#)] = 1, "Niet gereden", "Gereden" )
)
Is this the result you were expecting?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
The code seems correct, are you abble to share a sample file?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 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 |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |