The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I'm trying to wrap my head around this. I've attached the model here: https://drive.google.com/file/d/1yIC3LKIDAaCzr5LbQyg5k6w2p4poSNB3/view?usp=sharing
Also see screenshot of the model below and the expected end result.
The expected result is a bar chart where you can filter on project, supplier name and date. The Y-axis will be sales for the total number of projects and the X-axis will be dates based on project starts. Example: the value of project id 1 is 10 700, and the value of the project start in 2024-05-08 is 3 * 10 700 = 32 100. So:
Data
Thanks for any help
Solved! Go to Solution.
Hi @carlenb
Please refr to attached
Sales Volumne =
SUMX (
VALUES ( DimProject[ID] ),
SUMX (
CALCULATETABLE ( Sales ),
Sales[Quantity] * Sales[Price]
)
* CALCULATE ( MAX ( DimProjectPlan[Number of starts] ) )
)
Hi @carlenb
Please refr to attached
Sales Volumne =
SUMX (
VALUES ( DimProject[ID] ),
SUMX (
CALCULATETABLE ( Sales ),
Sales[Quantity] * Sales[Price]
)
* CALCULATE ( MAX ( DimProjectPlan[Number of starts] ) )
)
Many thanks @tamerj1 - I got it to work as expected 🙂 thanks for submitting the solution as well!
Added the following example in the thread start:
The value of project id 1 is 10 700, and the value of the project start in 2024-05-08 is 3 * 10 700 = 32 100.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
34 | |
21 | |
18 | |
15 |
User | Count |
---|---|
124 | |
39 | |
30 | |
24 | |
22 |