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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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