Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
crystles
Partner - Creator III
Partner - Creator III

How to apply a change to field by date field

I have a data model that shows Counts of Parts and the date the part was counted. We have different classifications of parts (A,B, and C). However, The system will change the category of the part (based on some other criteria, but it's not important to this issue).

I have the current ABC_Code for each part in another table

That table that is created from the database that checks if the ABC_Code has changed, at the beginning of each Quarter. If the code has changed, it lists the part number and the new and old code.

So this table would have ....

Part Number = 123

Old Code = A

New Code = B

Date of Report = 1/1/17 (beginning of quarter, so the New code will need to be applied to this part for the future quarters going forward, unless a new change is made, in any following Yearly Quarters)

The problem is, they want a chart to look like the chart below in the QV document I have for them.

I only have the date the code changed (if it ever changed at all) with the new and old codes, the current code for each part,and the date the part was counted. I do not have a code for each Quarter, so I (think) I  am going to have to "create" these codes for each Quarter in order to show the codes for each year/quarter.... I'm not sure how to do that.... Or at least what the "best" way to do that would be...

Any help would be greatly appreciated. Thanks!

Part NumberQ1Q2Q3Q4# of counts
123AAAA6
124CCBA8
125CCBB1
126(Blank)(Blank)CA4
1 Solution

Accepted Solutions
sunny_talwar

2 Replies
sunny_talwar

Not sure, but may be look at this:

Slowly Changing Dimensions

crystles
Partner - Creator III
Partner - Creator III
Author

Yes! That is exactly what I needed.

Thank you!