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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

table creation

Hi ,

    i need to create a table from following data...Add a slicer for underwriter and table will show details of calcualtion like below screen shot..

GWP= sum of POLICY PREMIUM WITHOUT EQ, TRIA, TERRORISM, OR SURCHARGE for the year 2022

Budget=sum of amount for the year 2022

Actual2021=sum of Surcharge for the year 2021

..Total 4 column will be there in table visual and one slicer will be tehre with underwriter values...

after selecting slicer value need to changed based on each underwriter...

 

 

https://www.dropbox.com/s/4hex754x11a8pq6/fact.pbix?dl=0 .table.PNG

plse help?

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

Hi @Anonymous ,

According to your description, I download your sample, here's my solution.

1.Create two calculated columns in fact table.

Month_year = FORMAT('fact'[invoice_date],"MMM"&"/"&YEAR('fact'[invoice_date]))
Year = YEAR('fact'[invoice_date])

Create a calculated column in budget table.

Month_year = FORMAT(DATE(1,'budget'[month],1),"MMM")&"/"&'budget'[year]

2.Make relationship between the two tables with the Month_year column.

vkalyjmsft_0-1652168019618.png

3.Select Month_year column from fact table and other columns you want to sum into the table visual, make two slicers, it will get the correct sum result according to the underwriter and year.

vkalyjmsft_1-1652168119342.png

I attach the sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, I download your sample, here's my solution.

1.Create two calculated columns in fact table.

Month_year = FORMAT('fact'[invoice_date],"MMM"&"/"&YEAR('fact'[invoice_date]))
Year = YEAR('fact'[invoice_date])

Create a calculated column in budget table.

Month_year = FORMAT(DATE(1,'budget'[month],1),"MMM")&"/"&'budget'[year]

2.Make relationship between the two tables with the Month_year column.

vkalyjmsft_0-1652168019618.png

3.Select Month_year column from fact table and other columns you want to sum into the table visual, make two slicers, it will get the correct sum result according to the underwriter and year.

vkalyjmsft_1-1652168119342.png

I attach the sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

jaipal
Resolver III
Resolver III

@Anonymous  Hi, you should need unique identifier (Primary key) to make relationship between both tables, then it can be done

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors