Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables:
Products (sell date is type date)
| id | sell date | amount |
| 1 | 21 January 2021 | 1000 |
| 1 | 21 February 2021 | 1100 |
| 2 | 5 January 2021 | 2000 |
| 2 | 5 February 2021 | 2100 |
Targets (date is type date)
| date | amount |
| 1 January 2021 | 2500 |
| 1 February 2021 | 3500 |
I need to create a visual that shows the results against the targets. Something like
| month | target | result |
| January 2021 | 2500 | 3000 |
| February 2021 | 3500 | 3200 |
The products have different sell dates (for each product always on the same date of the month) and I need to aggregate by month.
How do I do this?
Thanks.
Solved! Go to Solution.
@Dicko Seems like you could create a relationship between Targets and Products on Date fields. Then create a table visual using Date from Targets, Amount from Targets and SUM(Products[result]).
@Dicko Seems like you could create a relationship between Targets and Products on Date fields. Then create a table visual using Date from Targets, Amount from Targets and SUM(Products[result]).
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |