Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am having a few issues troubleshooting a DAX Query on the following.
I need to return a count value where by "ETA_Disch" is more then 7 Days old, & the "Recognized_WIP" is showing 0
The current EXCEL foruma ustilised is =IF(AND(TODAY()-BS15>7,BB15>1),1,0)
Attached SS for review.
Thanks in adance for any assistance.
Solved! Go to Solution.
@Anonymous ,
You can also try
var _a = 'Table'[ETA_Disch]
var _dd = DATEDIFF(_a,TODAY(),DAY)
RETURN
IF( _dd > 7 && 'Table'[Recognized_WIP] = 0,1,0)
Regards,
HN
Hi @Anonymous ,
var _a = MAX('Table'[ETA_Disch])
var _dd = DATEDIFF(Today(),_a,DAY)
RETURN
IF( _dd > 7 && 'Table'[Recognized_WIP]>1,1,0)
Regards,
Harsh Nathani
Hi Harsh,
Thanks for your help here.
Apologies for the delay, I instered the below query and it returnd a value but only 0 and no 1 counts.
Please see attached for your reviewScreen Shot
Hi @Anonymous ,
Please create a Calculated Column
var _a = 'Table'[ETA_Disch]
var _dd = DATEDIFF(_a,TODAY(),DAY)
RETURN
IF( _dd > 7 && 'Table'[Recognized_WIP]>1,1,0)
Regards,
Harsh Nathani
@Anonymous ,
You can also try
var _a = 'Table'[ETA_Disch]
var _dd = DATEDIFF(_a,TODAY(),DAY)
RETURN
IF( _dd > 7 && 'Table'[Recognized_WIP] = 0,1,0)
Regards,
HN
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |