Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I would like to recreate the table in the screenshot below. I am wondering if the best way to do this would be a calculated table but I am im not sure and I am open to suggestions.
In the table below
sales target and sales actuals is raw data from my data set.
Difference is a calculation (Sales actuals less sales target)
Attainment is a calculation(Sales actuals/Sales target)
YTD Column is a calcaution
Total column is a calculation
Source | Date | Sales |
ACTUALS | 1/1/2025 | 21138 |
ACTUALS | 1/2/2025 | 21097 |
TARGET | 1/1/2025 | 21666 |
TARGET | 1/2/2025 | 24042 |
Solved! Go to Solution.
Hello @dwhittaker1
Thank you for reaching out to the Microsoft Community Forum.
Thank you @danextian for your prompt response.
To recreate the table in Power BI, use a Disconnected Table and a SWITCH DAX measure.
I have attached a PBIX file for a more detailed understanding. Please review it:
If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.
Thank You!
Hello @dwhittaker1
Thank you for reaching out to the Microsoft Community Forum.
Thank you @danextian for your prompt response.
To recreate the table in Power BI, use a Disconnected Table and a SWITCH DAX measure.
I have attached a PBIX file for a more detailed understanding. Please review it:
If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.
Thank You!
@danextian thank you this is a good start, is there a way to add the difference measure and attainment calculation to the row of this table as shown below
Hi @dwhittaker1
This approach requires a disconnected table along with measures that reference it. Attached is a sample PBIX file using this method.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
89 | |
52 | |
45 | |
39 | |
38 |