The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
i am trying to write dax code which help me setup conditional formatting for my collateral due column. I want to identify Collateral Due dates(Column1) which are past the current date and have no callateral received date(column2) filled in the collateral rec date column.
currently im trying to add an AND to this
@Anonymous , Try like
if(vALL_ORDER_DETAILS_ENH_V2[Collateral_Rec] <> BLANK()
Switch(true(),
DATEDIFF(vALL_ORDER_DETAILS_ENH_V2[Collateral_Due].[Date],TODAY(),DAY)<0,"Current" ,
DATEDIFF(vALL_ORDER_DETAILS_ENH_V2[Collateral_Due].[Date],TODAY(),DAY)>=0,"Past Due"
) , blank())
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |