Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I'm sorry, I'm coming here with what must be a very stupid question. I am still a newcomer to PowerBI.
The following facts:
First Test (IF) :
Are the hours equal to or above 13
If NO : Give the hours entered
If YES :
Second test (IF) :
If the field has a trigger (=1), If YES :
Give the entered hours, if NO : Write 13
Since there is probably no If then else in the DAX, it is...at least for me, a bit more complicated.
Thanks in advanced 🙂
Solved! Go to Solution.
Hello @StevieCho,
you need to fill the hours column and the triger column in the measure:
Column = if( hours >= 13,If(trigger = 1,hours,13),hours)
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Thank you Guys, i'll ty it later 🙂
Hello @StevieCho,
you need to fill the hours column and the triger column in the measure:
Column = if( hours >= 13,If(trigger = 1,hours,13),hours)
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Thank you, you helped my 🙂 the dax formula is now :
@StevieCho Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 38 | |
| 31 | |
| 26 |