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.
Hello Expert.
I try to do a logic but it resulted to syntax error. What I want is having a multiple columns to filter. So for example how to express this scenario.
If column A, B, C, D, E, F, G, H, I,J, K, L, M & N is false then "With Changes" if true " No Changes"
How can I express this formula without having an error and will work? Please advise.
Thank you
Solved! Go to Solution.
@Anonymous
Hope you need a DAX solution?. Add the following Column to your table and modify the column names as required
Column =
VAR T = {[A],[B],[C],[D]} RETURN
SWITCH( TRUE() ,
CONTAINS(T,[Value],FALSE()), "With Changes",
CONTAINS(T,[Value],TRUE()), "No Changes",
"Unknown"
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
hi @Anonymous - If the condition needs to check if ALL columns to be FALSE for the derived column to have the value "With Changes" then you can implement a logic as seen below.
Please mark the post as a solution and provide a 👍 if my comment helped with solving your issue. Thanks!
Proud to be a Super User!
@Anonymous
Hope you need a DAX solution?. Add the following Column to your table and modify the column names as required
Column =
VAR T = {[A],[B],[C],[D]} RETURN
SWITCH( TRUE() ,
CONTAINS(T,[Value],FALSE()), "With Changes",
CONTAINS(T,[Value],TRUE()), "No Changes",
"Unknown"
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you All for taking time to answer my questions and I've got the right formula from @Fowmy Thank you for the help!
You all stay safe and thanks again
Hi @Anonymous
Can you share an example of the data and what you want it to look like?
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |