The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a bar chart, where one bar is showing order value average for last 12 month. This I have filtered by filtering the visualization with last 12 months. The axis is showing days (1, 2, 3, etc), like the average of order value for every first day of the month and so on. Order value itself is a measure multiplying two columns of a table.
Now I would like to have another bar in the same chart showing the order value for this month. How can I do this?
Solved! Go to Solution.
You may try CALCULATE to change the context.
Measure =
CALCULATE ( [Order value], 'Table'[Date].[MonthNo] = MONTH ( TODAY () ) )
Thank you! I am having problem making the new measure though. Any ideas on how I make a measure to filter another measure with only values for current month?
Hi @sw123
Sure, can you create a data sample and include the expected result, its not easy to understand what you trying to achieve without understanding the scenario.
Ok, so this first chart shows the order value this month:
Order value is a measure:
This means that the average order value last 12 months for the 3rd each month is around 10t.
Now I would like to combine this two charts and thinking that I could add this months bars to the 12 months average bar, if I only could do a measure that filters the order value for this month.
Is this more understandable?
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 August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
109 | |
80 | |
77 | |
46 | |
39 |
User | Count |
---|---|
137 | |
108 | |
64 | |
64 | |
53 |