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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jasgun
Frequent Visitor

Basic Data Modelling

Hi all,

 

I have a basic model that I would like create in Power BI, but I'm having issues!

 

I have a Fact table that I would like to track Policy Ref over months on a cumulative basis.

Fact table is below, theAmount measure is movement in the month:

Fact table - OBM_ReconciliationFact table - OBM_Reconciliation

The basic result I need is:

2019-02-15_1249.png

 

 

I've got as far as this:

  • Created a new table with all accounting preiods from 201506 to 201901.
  • Created a new measure to calculate the cumulative position using the running total quick measure. This works:

2019-02-15_1401.png

 

So then I created a relationship to the new accounting period table I created to get culumative figures for months even if there wasn't a transaction.

2019-02-15_1413.png

 

However the two issues I have are:

  1. As the accounting month I use in the visual is based on the new accounting period table, the cumulative total doesn't work.
  2. It still only gives me accounting periods where there is a transactions for it.

 

Can someone please help me to set this up correctly? It's driving me mad!

Seems simple in my mind!!

 

Thanks

 

Jason

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @jasgun 

You need to create a table with all month period (eg, for this example, 201506~201804) for each "Policy Ref",

leave "Amount" for some period blank, (eg, in this example, "Amount" for 201507, 201508 are blank)

->these could be done with Power Query

 

then fill blanks with previous value

->see similar thread:

https://community.powerbi.com/t5/Desktop/Fill-blanks-with-previous-value/td-p/492501

 

Best Regards

Maggie

 

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @jasgun 

You need to create a table with all month period (eg, for this example, 201506~201804) for each "Policy Ref",

leave "Amount" for some period blank, (eg, in this example, "Amount" for 201507, 201508 are blank)

->these could be done with Power Query

 

then fill blanks with previous value

->see similar thread:

https://community.powerbi.com/t5/Desktop/Fill-blanks-with-previous-value/td-p/492501

 

Best Regards

Maggie

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.