Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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())
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |