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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
brawndo
Frequent Visitor

Individual table for values in an existing table

I have a table that has 20 items that show the variance between the estimate and actual cost of a project. Each item has it's own table that breaks down the costs for each project resulting in 20 individual tables. How can i go about dynamically switching between the 20 individual tables?

6 REPLIES 6
VasTg
Memorable Member
Memorable Member

@brawndo 

 

Show some sample inputs for 20 items table and one or two of other project table to better understand the data.

 

You should look into dimension modelling to kind of separate Dimension and facts.

 

Connect on LinkedIn
brawndo
Frequent Visitor

@VasTg 

 

This is the Main Table. Each "WR Number" has it's own table breaking down the costs.

Main Table.JPG

Table below is an example of what each individual table looks like.

Individual Table.JPG

 

VasTg
Memorable Member
Memorable Member

@brawndo 

 

Your main table should only holds the below.(As a Dimension)

WR Number,WR Required start Date,WR Firld Complete date, WR Work Category

 

You should also populte WR Number(If not already) for each of the other tables and merge them into a single fact table. Create an index if necessary.

 

Define a relationship between the two based on WR Number.(1 to Many)

All the other columns such as WR Est Loaded Cost,Actual Loaded Cost, Loaded Cost Variance should be measure if you have the underlying data and calculations to populate them from fact table. Otherwise it doesn't hurt to keep them in dimension.

 

Please post if you have any questions.  Sample data is better than a picture of sample data for us to work with.

 

If this helps, mark it as a solution.

Kudos are nice too.

 

Connect on LinkedIn
brawndo
Frequent Visitor

@VasTg 

So add a column "WR Number" on each of the individual tables?

VasTg
Memorable Member
Memorable Member

@brawndo 

 

Yes. Add them to individual tables and append them togeather.

Connect on LinkedIn
brawndo
Frequent Visitor

@VasTg 

Like this? Each table will have it's own WR Number.

Added WR column.JPG

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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