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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Justas4478
Post Prodigy
Post Prodigy

Report cant bring data to a visual and times out

Hi, I have a report with simple table that is trying to load 12 months worth of data.
but I get this error in published version:

Justas4478_0-1744100132277.png

And this in the desktop:

Justas4478_1-1744100182729.png

I suspect it is fault of my measure.
The measure works well on small amount of data, but when it is more it starts to fail.
This is two part measure.
Part one:

Pieces Per Pick Cal = AVERAGEX('Product','Product'[Pieces Per Pick])

Part two:
Total Actual Eaches = SUMX('Outbound Delivery','Outbound Delivery'[Total Actual]*'Product'[Pieces Per Pick Cal])
 
I can't do calculated columns since company is using live connection model so I am forced to use only measures.
If anyone knows any solutions that could help, I would appreciated the suggestions.
Thanks
1 ACCEPTED SOLUTION
v-csrikanth
Community Support
Community Support

Hi @Justas4478 

Thanks for reaching out to the Fabric Community.
Sorry for the late response.
If you’re trying to get a row-specific value  then the key issue is relationship: Power BI needs a relationship from 'Outbound Delivery' to 'Product'.


You can then try this measure:

Total Actual Eaches =
SUMX(
    'Outbound Delivery',
    'Outbound Delivery'[Total Actual] *
    RELATED('Product'[Pieces Per Pick])
)

Use DAX Studio on the desktop report to measure query performance.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

View solution in original post

7 REPLIES 7
v-csrikanth
Community Support
Community Support

Hi @Justas4478 
Thanks for confimation let us know if you are facing any issues.
If the issue has been resolved, can you mark the post as resolved.
Please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!

Best Regards,
Cheri Srikanth

v-csrikanth
Community Support
Community Support

Hi @Justas4478 

I wanted to follow up since I haven't heard from you in a while. Have you had a chance to try the suggested solutions?
If your issue is resolved, please consider marking the post as solved. However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.
Looking forward to your response!


Best Regards,
Community Support Team _ C Srikanth.

@v-csrikanth Hi, it got really busy at work and I did not had time to test suggested solutions.
I will have time next week and will respond once I manage to try them.

v-csrikanth
Community Support
Community Support

Hi @Justas4478 

Thanks for reaching out to the Fabric Community.
Sorry for the late response.
If you’re trying to get a row-specific value  then the key issue is relationship: Power BI needs a relationship from 'Outbound Delivery' to 'Product'.


You can then try this measure:

Total Actual Eaches =
SUMX(
    'Outbound Delivery',
    'Outbound Delivery'[Total Actual] *
    RELATED('Product'[Pieces Per Pick])
)

Use DAX Studio on the desktop report to measure query performance.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

bhanu_gautam
Super User
Super User

@Justas4478 , Try using

 

DAX
Pieces Per Pick Cal =
VAR AvgPiecesPerPick = AVERAGEX('Product', 'Product'[Pieces Per Pick])
RETURN AvgPiecesPerPick

 

Total Actual Eaches =
VAR PiecesPerPickCal = [Pieces Per Pick Cal]
RETURN SUMX('Outbound Delivery', 'Outbound Delivery'[Total Actual] * PiecesPerPickCal)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






@bhanu_gautam your solution is a bit faster, but it return wrong results.
I dont know why but results it gives back are aproximatly two times bigger than original results.

@bhanu_gautam I just checked and it is not actual results that are wrong but the totals are wrong.

Justas4478_3-1744115810197.png


Justas4478_2-1744115745100.png

 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.