Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I have a visual table that displays the following columns 'week start' and 'w number' (Note the w number is a measure)
I require a multiple IF to show text based on the 'w number' results in my visual table.
I have tried this DAX
Week start | W number | W-Result |
21/09/2020 | 1.4 | |
28/09/2020 | 1.2 | |
05/10/2020 | 1.6 | |
12/10/2020 | 1.2 | |
26/10/2020 | 1.6 | |
02/11/2020 | 1.1 | |
09/11/2020 | 1.8 | |
16/11/2020 | 1.7 | |
19/10/2020 | 0.8 | X1 |
Week start | W number | W-Result |
21/09/2020 | 1.4 | X2 |
28/09/2020 | 1.2 | X2 |
05/10/2020 | 1.6 | X2 |
12/10/2020 | 3.1 | X3 |
26/10/2020 | 1.6 | X2 |
02/11/2020 | 1.1 | X2 |
09/11/2020 | 1.8 | X2 |
16/11/2020 | 1.7 | X2 |
19/10/2020 | 0.8 | X1 |
Thank you
Richard
Solved! Go to Solution.
You are using AND that resukts whn satatement is true
Try the bottom.
Resultado W-Result á IF(AND([W number]>-0,[W number]<-1),"X1",IF(AND([W number]>1,[W number]<-2),"X2",IF(AND([W number]>2,[W number]<-20),"X3")))
Rehards,
Manikumar
Proud to be a Super User!
Thank you
Awesome, you got the answer.
Leave a like if you find helpful.
Regards,
Manikumar
Proud to be a Super User!
You are using AND that resukts whn satatement is true
Try the bottom.
Resultado W-Result á IF(AND([W number]>-0,[W number]<-1),"X1",IF(AND([W number]>1,[W number]<-2),"X2",IF(AND([W number]>2,[W number]<-20),"X3")))
Rehards,
Manikumar
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |