Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Th0mc
Frequent Visitor

Lost between Table, Matrix, Columns, Rows and Measures

Hi all,

 

I have to reproduce in a PowerBI report the following :

  • I have 2 sources :
    • 1 with the forecasted spendings on items, by year and by month
      Source1 - Forecast.png
    • 1 with the good receipt by item with date
      Source2 - Receipt.png
  • The expected result with this example is
    Expected result.png

What I have done

Through PowerQuery, I have transformed sources in the following table
Transformed Table.png

And the best I could achieve is using a Matrix visual, I can get either the view by month using directly Amount values from the table

Result 1 on Amount.png

either the view with teh running totals using the running total measure

Result 2 with Running Total Measure.png

But I'm not able to mix both 😞

And anyway, I know, I feel, that this is the wrong way of doing this.

Any help on the good way to achieve this is welcome.

Thanks in advance

Tom

Edit: Updated with right values for march, april

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Th0mc ,

 

I will have a closer look at the pbix later this week.

Nevertheless,  are you are aware of this article: https://www.daxpatterns.com/time-patterns/

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
TomMartens
Super User
Super User

Hey @Th0mc ,

 

please create a pbix file that contains sample data, but still reflects your data model, tables, relationships, calculated columns, and measures. Upload the pbix to OneDrive, Google Drive, or dropbox and share the link. If you are using a spreadsheet to create the sample data instead of the manual input method share the spreadsheet as well.

 

Make sure that date values, are matching the description of the expected result.

 

i do not understand why the value "Receipt (running total)" for March 2023 is expecte to be 3000 as the "next"  receipt value is "measured" for the 5th of April.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thanks for your reply Tom ;).

 

You're absolutely right. It was a test (lol).
I have updated the original post with the right values for better clarity.

 

Here is a link to a pbix file reproducing what I have done so far with the same data: https://1drv.ms/u/s!AnIVzupUcQOTlqZWTEj7RIOi1cSs4A?e=SvVu1K

 

I'm pretty I'm doing fully wrong but I have not find a better way on my own.

 

Again, thanks in advance for any help you could provide.

Tom

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors