Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
My sales and po tables looks like below:
| date | sales |
| 2018-01 | 12 |
| 2018-02 | 23 |
| 2018-03 | 34 |
| 2018-04 | 45 |
| 2018-05 | 55 |
| date | p/o |
| 2018-02 | 44 |
| 2018-03 | 23 |
| 2018-05 | 22 |
When I combine the visualization I get only total p/o values in all rows as below.
| date | sales | p/o |
| 2018-01 | 12 | 89 |
| 2018-02 | 23 | 89 |
| 2018-03 | 34 | 89 |
| 2018-04 | 45 | 89 |
| 2018-05 | 55 | 89 |
Can anyone help me solving this? Ideally it should look like below:
| date | sales | p/o |
| 2018-01 | 12 | |
| 2018-02 | 23 | 44 |
| 2018-03 | 34 | 23 |
| 2018-04 | 45 | |
| 2018-05 | 55 | 22 |
Solved! Go to Solution.
Hi, @sam_nik12345 ;
Alternatively, you only need to create a measure. Note: No relationship is required.
Measure = CALCULATE(SUM('PO'[p/o]),FILTER('PO',EOMONTH([date],0)=EOMONTH(MAX('sales'[date]),0)))
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @sam_nik12345 ;
Alternatively, you only need to create a measure. Note: No relationship is required.
Measure = CALCULATE(SUM('PO'[p/o]),FILTER('PO',EOMONTH([date],0)=EOMONTH(MAX('sales'[date]),0)))
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @amitchandak
How do I aggregate this to month level? The value I get at daily and needs to be aggregated to month. Kinldy advice.
@sam_nik12345 , Add month year to date tbale and use.
Please find the attached file after signature
Month Year = FORMAT([Date], "YYYY-MM")
@sam_nik12345 , You have to create a common date table and join with both and then use measure from Sales and PO
Please find the file attached
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |