Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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().
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 37 | |
| 30 | |
| 30 |