Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Please tell me how I can display the 2023 actual sales separately instead of calculating them as part of the total actual sales for 2023 and 2024.
Solved! Go to Solution.
Hi, @chrispino1913
Thanks for the reply from MattiaFratello. You can refer to his reply, or try to use some measures to achieve your need.
2023Actual = SUMX(FILTER('Table','Table'[Year] = 2023 && 'Table'[Attribute] = "Actual"),'Table'[Value])
2023Target = SUMX(FILTER('Table','Table'[Year] = 2023 && 'Table'[Attribute] = "Target"),'Table'[Value])
2024Actual = SUMX(FILTER('Table','Table'[Year] = 2024 && 'Table'[Attribute] = "Actual"),'Table'[Value])
2024Target = SUMX(FILTER('Table','Table'[Year] = 2024 && 'Table'[Attribute] = "Target"),'Table'[Value])
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi, @chrispino1913
Thanks for the reply from MattiaFratello. You can refer to his reply, or try to use some measures to achieve your need.
2023Actual = SUMX(FILTER('Table','Table'[Year] = 2023 && 'Table'[Attribute] = "Actual"),'Table'[Value])
2023Target = SUMX(FILTER('Table','Table'[Year] = 2023 && 'Table'[Attribute] = "Target"),'Table'[Value])
2024Actual = SUMX(FILTER('Table','Table'[Year] = 2024 && 'Table'[Attribute] = "Actual"),'Table'[Value])
2024Target = SUMX(FILTER('Table','Table'[Year] = 2024 && 'Table'[Attribute] = "Target"),'Table'[Value])
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Try Small Multiples -> https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-small-multiples
Is it possible to use a combo chart? If we use small multiples, the data charts will not be on a single dashboard/axis. By having them on the same axis, the data will be easier to compare
What a double x-axis then?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
92 | |
65 | |
63 | |
43 | |
40 |