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 doing a paginated report, where I got a requirement that I don't select any month i.e MonthName is Blank() then it should calculate for the whole Year for the mentioned expression (Claim Qty, Claim Total)
I used the below expression for the Claim Qty which is giving me #Error. Please kindly with the expression .
=Sum(IIf(
(Parameters!DateMonthName.Value(0) = "" Or IsNothing(Parameters!DateMonthName.Value(0)) ) And (Parameters!DateYear.Value(0) = Fields!Year.Value),
Fields!BilledQuantity.Value,
IIf(
Parameters!DateMonthName.Value(0) <= Fields!MonthName.Value And Parameters!DateYear.Value(0) <= Fields!Year.Value,
Fields!BilledQuantity.Value,
Nothing
)
))
@SamWiseOwl @v-henryk-mstf will you please help.
Thanks
Hi @ashmitp869
I am not that familiar with Power BI Paginated reports.
However a couple of points to make it easier for others:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi,
Parameters!DateMonthName.Value(0) is
Here is my error. Not showing in details. the MonthName is passing Blank().