Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I am creating a Accounts Receivable paginated report in report builder based off a Power BI Dataset from an already created Power BI Report.
I have a column called "Due_Date" that I need to conditionally format. Need to know the due date that are late, so basically any date that is less than today. Below is my code and the error message. Any suggestions please?
My code:
=IIf(Fields!Due_Date.Value < Today(), "Red"))
The Error:
The 'BackgroundColor' expression for the text box 'Due_Date' contains an error: [BC30516] Overload resolution failed because no accessible 'IIf' accepts this number of arguments.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing.
It did not work. Error message:
The 'Color' expression for the textrun 'Due_Date.Paragraphs[0].TextRuns[0]' contains an error: [BC30516] Overload resolution failed because no accessible 'IIf' accepts this number of arguments.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing.
Hi @Kballar1958
Could you make sure that both the Fields!Due_Date.Value and now() are both returning a date value?