Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello friends,
I just made my problem more simple for you to understand it quickly.
I just want to find a way to check if one of the rows from column E has a value of 1 from column F. If yes, proceed to next condition.
In the image below, I would like to check if the letter A,B or C has a value of 1 from column F. If letter A,B or C has a value of 1 from column F, it will not proceed to the next condition. Hope you can help me. Thank you!
Solved! Go to Solution.
Hi @JofrainVisda ,
What about this measure?
Measure = IF(CALCULATE(SUM('Table'[F]),FILTER(ALLSELECTED('Table'),[E]=MAX('Table'[E])))>0,"next condition","done")
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @JofrainVisda ,
yes , its like this if ( TableName [F] = 1, if( column = second condition),result true,result false)
and here is the syntax by microsoft https://learn.microsoft.com/en-us/dax/if-function-dax
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
No sir. It will only check the current row and not for all the letters.
Example for letter A.
What I need is to check if letter A, regardless of the row, has a value of 1 from column F.
Hi @JofrainVisda ,
What about this measure?
Measure = IF(CALCULATE(SUM('Table'[F]),FILTER(ALLSELECTED('Table'),[E]=MAX('Table'[E])))>0,"next condition","done")
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Wow! Thank you so much it works! Will have to study about Filter and Allselected functions.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |