Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Columnist
Frequent Visitor

Row Subtotal of Measure in Pivot table is empty

Dear Community,

I am strugling to understand and fix the issue of empty subtotals for the measures I created in the Power Pivot model.

Please see below the view of the Pivot table:

Capture.PNG

The YoY measure returns same week previous year sales value (eg. Actual Booking in week 2 of year 2023 ($623K) are reflected as YoY Actual Bookings for week 2 of year 2024).

YoY measure synthax:

YoY:=CALCULATE([Actual Bookings],
(FILTER(ALL(T_Calendar),
T_Calendar[Fiscal Year]=IF(HASONEVALUE(T_Calendar[Fiscal Year]), VALUES(T_Calendar[Fiscal Year]))-1&&
T_Calendar[Fiscal Week]=IF(HASONEVALUE(T_Calendar[Fiscal Week]), VALUES(T_Calendar[Fiscal Week])))))

 

Could you please advise why the measure is present in the row of the Pivot table for each week but not visible in Subtotal while other rows in Pivot table are there in Subtotal? What should I do to fix it?

Thank you in advance!

3 REPLIES 3
Columnist
Frequent Visitor

Thanks, wdx223_Daniel. Appreciate if you could suggest what I should change in formula to make it work correctly.

YoY:=CALCULATE([Actual Bookings],
(FILTER(ALL(T_Calendar),
T_Calendar[Fiscal Year]=IF(HASONEVALUE(T_Calendar[Fiscal Year]), VALUES(T_Calendar[Fiscal Year]))-1&&
T_Calendar[Fiscal Week] IN VALUES(T_Calendar[Fiscal Week]))))

wdx223_Daniel
Super User
Super User

in subtotal column, HASONEVALUE was not fullfilled, it will give a blank, ie false. so there is not dates included.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.