Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |