Current data :
|ID | DT | STATE | V|
|1 | 201901 | PA | 1|
|1 | 201902 | PA | 6|
|2 | 201902 | PA | 3|
|1 | 201902 | CA | 3|
|2 | 201901 | CA | 1|
I want to create rows with all combinations of ID, DT and STATE with V being 0 where its not available like this :
|ID | DT | STATE | V|
|1 | 201901 | PA | 1|
|1 | 201902 | PA | 6|
|1 | 201901 | CA | 0|
|1 | 201902 | CA | 3|
|2 | 201901 | PA | 0|
|2 | 201902 | PA | 3|
|2 | 201901 | CA | 1|
|2 | 201902 | CA | 0|
Thanks