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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Struggling to load the report when more than one table involving in table visual - Need help

We have a requirement for showing the report comparison based on from & To selected Quarter(YYYY/QQ). I have added the data model & measures for your reference.
We have a below 2 measure for getting the summarized result of part table part number wise ASP(avg selling price) & Pricing Difference, Pricing %

Problem: When we adding the fields from more than one tables with below Measures. Report are struggling to load & showing the below error. Can anyone pls guide me on this
what way we can display the transaction data with all the required fields without issue

 
 

Visual Error.png

Pricing model.PNG

 

ASP= SUM(Sales)/SUM(Qty)

1. P_From ASP =
---------------------------------------------------------
VAR _selectedyr =
SELECTEDVALUE('Date'[Year Number])
VAR _selectedqtr =
VALUES('Date'[YYYY/QQ])
-----------------------------
//new date table
VAR DateTable =
CALCULATETABLE(
'Date',
ALL( 'Date' ),'Date'[Year Number]=_selectedyr,'Date'[YYYY/QQ] IN _selectedqtr
)
---------------------------------------------------------
VAR from_salesamount =
CALCULATE( [Sales Amount], DateTable ,ALLEXCEPT('Part Number','Part Number'[Part Number ID]))
---------------------------------------------------------
VAR from_qty =
CALCULATE( SUM(Sales[Item Qty]), DateTable,ALLEXCEPT('Part Number','Part Number'[Part Number ID]))

RETURN
IFERROR(from_salesamount/from_qty,0)

2. P_Pricing Difference L1 =
VAR Part_Summarize =
SUMMARIZE(Sales,Sales[Part Id])
RETURN
SUMX(Part_Summarize,
IF([From Sales]=0,0, ([To ASP]-[P_From ASP])*[To Quantity]))
1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , refer if this blog on this topic can help

https://blog.crossjoin.co.uk/2020/01/20/visual-has-exceeded-the-available-resources-error-power-bi/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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