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
Anonymous
Not applicable

Design Advice: Accounting Consolidations Best Practices

Hi Power Bi Community,

 

I need some advice on how to best set up my data for use in Power Bi.

 

I currently have several table set up for each year (2014, 2015, 2016, etc.) which looks like the below:

 

I can easily pull this table from our system. I would like to be able to use this table for ease of adding new data (2019, etc.)

 

GL NumberBalanceGL NameProgram NumberType
10 $                 10.00Sample1Revenue
15 $                 25.00Sample 21Revenue
20 $               (15.00)Sample 31Expense
25 $                 25.00Sample 42Revenue
35 $               (30.00)Sample 52Expense
40 $                 50.00Sample 63Revenue

 

I want to build a table in Power Bi that aggregates the data - However I want to be able to pull all of the data (which would show net income by program) or filter by Revenue Types ( which would pull total revenue by program) or filter by Expense type (which would pull total expense by program). This is the goal:

Program Number20142015201620172018
120XXXX
2-5XXXX
350XXXX

 

And if we filtered by Revenue it would instead show:

 

Program Number20142015201620172018
135XXXX
225XXXX
350XXXX

 

I would then use that table to show trends over time, etc.

Does this make sense/is this possible? I can build this directly in Excel with various Vlookups and refresh from that but would really like to get it into PowerBi instead if possible. Can anyone point me in the right direction or is this even possible?

Thanks in advance!

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @Anonymous,

Based on my test, you could refer to below steps:

Add custome columns in your row tables:

1.PNG

Append your tables:

1.PNG

Apply it and create measures:

2014 = CALCULATE(SUM(Append1[Balance]),FILTER('Append1','Append1'[Custom]=2014))
2015 = CALCULATE(SUM(Append1[Balance]),FILTER('Append1','Append1'[Custom]=2015))

Now you could create the visual:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @Anonymous,

Based on my test, you could refer to below steps:

Add custome columns in your row tables:

1.PNG

Append your tables:

1.PNG

Apply it and create measures:

2014 = CALCULATE(SUM(Append1[Balance]),FILTER('Append1','Append1'[Custom]=2014))
2015 = CALCULATE(SUM(Append1[Balance]),FILTER('Append1','Append1'[Custom]=2015))

Now you could create the visual:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

This works great. Thanks so much!

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.