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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Vishruti
Regular Visitor

Power BI Desktop Expression with SumX not working in Paginated Report

Hello,

 

I have following measure in Power BI Desktop report:

% Project Completed =

Divide ( Sumx( Table, (Table[TaskDuration]*(Table[TaskPercentCompleted]/100))), sum(Table[TaskDuration]), blank()) + 0

 

When I add this measure in Paginated report, it is not showing the right values.

 

Can you help me write a custom formula that works in paginated report from the above formula?

 

The problem I am facing is that there is no Sumx function in paginated report. Also, I need it to show 0% in case of blank. 

1 REPLY 1
v-jialongy-msft
Community Support
Community Support

Hi @Vishruti 

 

Since paginated reports do not support SumX, you'll need to create a calculated field directly within your dataset query. This can be done using SQL if your data source supports it.

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.