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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
saijesh123
Regular Visitor

SCD Type 2

Hi All,

given source table

customer idnamecity
1AXYZ
2BABC
3CKLM
4DADJ
5EJKL

 

Updates table

customer idnamecity
1AKKL
2BJJK

I have first table with data changes to city that are made to the data. by updates table
I want to implement scd type 2 in power bi and want to have the history of any changes made to the table .

help me with dax functions to use and track historical changes

5 REPLIES 5
Anonymous
Not applicable

Hi @saijesh123 ,

Is this issue solved now? If you have any questions, please feel free to share with us.

And don't forget to accept the answers if they helped. Your action would be helpful to other users who encounter the same issue and read this thread. 🙂

Thanks for your understanding!

Best regards,

Lucy Chen

uzuntasgokberk
Super User
Super User

Hello @saijesh123 ,

RADACAD shows you how to implement SCD Type 2 (one of the most common types) using Microsoft Fabric and Power BI. That explains well SCD Type2.
https://radacad.com/scd-type-2-in-microsoft-fabric-and-power-bi

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

saijesh123
Regular Visitor

EXPECTED OUTPUT

customer idnamecityFROMTO
1AXYZ01-01-200001-01-2001
2BABC01-01-200005-01-2001
3CKLM01-01-2000NULL
4DADJ01-01-2000NULL
5EJKL01-01-2000NULL
6AKKL02-01-2001NULL
7BJJK06-01-2001NULL
mark_endicott
Super User
Super User

@saijesh123 - You cannot do this with DAX, but this blog might help you do this using incremental refresh:

 

https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...

 

If this works, please accept as the solution, for others with the same challenge!

BeaBF
Super User
Super User

@saijesh123 Hi! wich is the expected output? 

 

BBF

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.