Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Solved! Go to Solution.
hi @PC2022 ,
depending on your business logic, you need to change it to:
ApproachingDate = IF
( NOT ISBLANK (( crcc5_permitcoordination[Expiration Date] )) && DATEDIFF (TODAY (),crcc5_permitcoordination[Expiration Date], DAY ) >=30, "red" )
hi @PC2022 ,
try to apply the following measure as the conditional background color to [Expiration Date] field of your visual:
ApproachingDate = IF
( AND ( NOT ISBLANK (( [Expiration Date] )), DATEDIFF (TODAY (),crcc5_permitcoordination[Expiration Date], DAY ) = 30, "red" )
like this:
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
I changed DAX and it gave me no errors:
hi @PC2022 ,
depending on your business logic, you need to change it to:
ApproachingDate = IF
( NOT ISBLANK (( crcc5_permitcoordination[Expiration Date] )) && DATEDIFF (TODAY (),crcc5_permitcoordination[Expiration Date], DAY ) >=30, "red" )
I added one more && and it worked! Thank you!
DAX didn't work, gave this error: too many arguements were passed to the AND function, The max argument count for the function is 2.
User | Count |
---|---|
13 | |
10 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |