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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SVM9698
Regular Visitor

Time intelligence migration from Tableau to Power-BI

Hi All.

 

I have a little tricky scenario while migrating report from Tableau to Power-BI, where i have a input fact table with dates of present month and previous year same month with some values and a calendaer table with dates of present month and previous year same month and I need to build a output table with columns of 2024, 2023 with all dates along with some calculations like running sum and such. I ahve kept some dummy data with output schema as required.

 

Output:

OutputOutput

 

Input:

MicrosoftTeams-image (16).png

 

Calendar:

MicrosoftTeams-image (17).png

 

Hope anybody could help here.

 

Thanks in Advance and regards.

 

1 REPLY 1
audreygerred
Super User
Super User

Hello! I suggest utilizing the date reference table from SQLBI I have referenced in my blog post: http://powerbiwithme.com/2023/08/01/the-custom-date-table-edition/. For the time intelligence you can get started by utilizing the following:

Sales TY = SUM('FactTableName'[Current Year Sales])

Sales PY = CALCULATE (SUM('TableName'[Current Year Sales], SAMEPERIODLASTYEAR('DateTableName'[Date])))

For units do same as above two, but use the unit fields instead.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.