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
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)
@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/
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
210 | |
49 | |
45 | |
44 | |
42 |
User | Count |
---|---|
262 | |
211 | |
103 | |
79 | |
65 |