Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello everyone,
I am trying to solve the following issue with multiple ifs and conditions
if eventnumber=eventnumber and unit's(starts with BLS or RA) dispatch time is after unit's dispatch time(starts with E or T), then TRUE, FALSE.
I might bring more variables later, but now need to make these conditons work
Much appreciated!
Hello, I need to add a condition to an already existing formula:
Where Form submitted = 1 AND BOR date = 0 it should calculate days between Form submitted on and today.
@ggalstyan , Based on what I got
new column =
var _cnt = countx(filter(Table,[eventnumber] = earlier([eventnumber]) && ( left([unit],3) = "BLA" || left([unit],2) = "RA") && [Entry Time] > earlier([Entry Time] ) ),[eventnumber])
return
if(isblank(_cnt), "No", "Yes")
Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
I got the yes and no but the out come is incorrect, I need more help please
and for eventnumber 23001414 it should ideally return n/a as there were no RA/BLS added to this call at all.
Thanks
@ggalstyan ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
| EVENTNUMBER | UNIT | DISPATCH | RA/BLS added afterwards | commnets |
| 23001414 | T21 | 1/6/2023 08:26:26 | No RA/BLS | |
| 23001413 | BLS27 | 1/6/2023 08:27:20 | Yes | as it was added after 08:25:39 |
| 23001413 | E27 | 1/6/2023 08:27:14 | ||
| 23001413 | BLS26 | 1/6/2023 08:26:15 | Yes | as it was added after 08:25:39 |
| 23001413 | BLS21 | 1/6/2023 08:25:39 | No | it was right at08:25:39 |
| 23001413 | T26 | 1/6/2023 08:25:39 | ||
| 23001412 | T26 | 1/6/2023 08:15:57 | No RA/BLS | |
| 23001410 | BLS29 | 1/6/2023 08:12:47 | Yes | as it was added after 08:12:37 |
| 23001410 | E29 | 1/6/2023 08:12:37 | ||
| 23001405 | BLS26 | 1/6/2023 07:31:16 | No | |
| 23001405 | E26 | 1/6/2023 07:31:16 | ||
| 23001400 | BLS22 | 1/6/2023 06:47:52 | No | |
| 23001400 | E22 | 1/6/2023 06:47:52 |
@amitchandak @Thanks I Will try this tomorrow and let you know if works: I believe I understand the concept now.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |