Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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]).
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |