Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi all,
I'm trying to create a new column based on the two columns below highlighted in pink.
The new column should say Yes if these two columns have "Yes" and No if one of them is "No".
I tried the the dax below, but it won' work.
Thank you
RG
Solved! Go to Solution.
@ROG Try:
RETURN IF(Flag8Wk_CNSize = 1 && _8WkSigTest = 1, "Yes", "No")
Thanks a million @tamerj1
I was indeed using a wrong measure. The below worked.
@ROG Try:
RETURN IF(Flag8Wk_CNSize = 1 && _8WkSigTest = 1, "Yes", "No")
Thanks for your reply @Greg_Deckler
It's not working because o the data type.
The two measures I used to create the new column a type= text, but the new one I changed from number to general. There isn't an option to change to text for this measure. What woul you do in this case?
@ROG It would appear that one or both of the columns/measures that you have highlighted are returning numbers and not text. So, you need to address those comparisons. Are they really returning "Yes" and "No"? Doesn't seem like it.
Hi @Greg_Deckler
The issue is that @ROG is trying to compare a measure of type percentage ( [8 WK Diff %] ) with a text ("Yes"). Better if he advises what is he trying to achieve.
Thanks a million @tamerj1
I was indeed using a wrong measure. The below worked.
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 5 | |
| 5 |