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 All,
I have a table like the below. I need to create a bar chart with Actuals and target. For 2023 I can use 2023 target. But I need to show Q4 2023 and Q1 2024 at a time and the target should show 50 for Q4 2023 and 25 for Q1 2024.
Category | Sub category | Region | Quarter | Actual | Comments | Owner | Target 2023 | Target 2024 | Target 2025 |
Road | Bike | Global | Q4-2023 | 10 | Working | David | 50 | 25 | 30 |
Road | Bike | Asia | Q4-2023 | 5 | N/A | David | 0 | 0 | 0 |
Road | Bike | Uk | Q4-2023 | 5 | Under validation | Smith | 0 | 0 | 0 |
Road | Bike | Global | Q1-2024 | 20 | N/A | Smith | 0 | 0 | 0 |
Road | Bike | Asia | Q1-2024 | 15 | N/A | Henry | 0 | 0 | 0 |
Road | Bike | Uk | Q1-2024 | 5 | Working | Henry | 0 | 0 | 0 |
Electronics | Laptop | Global | Q4-2023 | 10 | Manufacturing | Micheal | 15 | 5 | 20 |
Electronics | Laptop | Asia | Q4-2023 | 5 | Manufacturing | Micheal | 0 | 0 | 0 |
Electronics | Laptop | Uk | Q4-2023 | 5 | N/A | Neil | 0 | 0 | 0 |
Electronics | Laptop | Global | Q1-2024 | 15 | working | Neil | 0 | 0 | 0 |
Electronics | Laptop | Asia | Q1-2024 | 10 | N/A | Neil | 0 | 0 | 0 |
Electronics | Laptop | UK | Q1-2024 | 5 | Working | Neil | 0 | 0 | 0 |
Thanks in advance.
Solved! Go to Solution.
You mention "Data Model" in the title. That's exactly what you need. Your data model needs to have at least three tables - Dates, Actuals, and Targets. Probably more (product hierarchy etc), but with these three you will be able to accomplish your task.
Hi @Prabha45 ,
This part of your data model doesn't make sense and doesn't achieve your desired results under the current data model:
Please add a table like this:
Create relationship between two tables:
The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Prabha45 ,
This part of your data model doesn't make sense and doesn't achieve your desired results under the current data model:
Please add a table like this:
Create relationship between two tables:
The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You mention "Data Model" in the title. That's exactly what you need. Your data model needs to have at least three tables - Dates, Actuals, and Targets. Probably more (product hierarchy etc), but with these three you will be able to accomplish your task.
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.