March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm trying to model data that comes from electronic forms, Think of Tax forms where the forms are different, the fields in the forms are different and change from year to year. In other words, I cannot count on the forms being consistent or the fields contained in the forms to be consistent. All of this has been crammed into three columns of data.
The relational data model contains a single fact table that contains basically three columns.
FORM - tells me the form that I'm looking at
FIELD_NAME - tells be the fields on the form
FIELD_VALUE - tells me what has been entered into the form
I thought about pivoting the whole thing, but the number of columns could potentially be hundreds or even thousands.
If anyone has some suggestions on how to model this in PBI or what is the best practice please let me know..
Example of the data.
FORM | FIELD_NAME | FIELD_VALUE |
1 | age | 16 |
1 | city | dallas |
1 | state | texas |
1 | year | 2018 |
1 | hair color | brown |
2 | car | ford |
2 | model | mustang |
2 | model year | 1999 |
2 | degree | phd |
2 | job | yes |
Hi @heavyarms308,
I have a little confused about your sceanrio.
If I understand your scenario correctly that the data you post is your sample data so what is your desired output based on the sample data?
If it is convenient, please share your expected output so that we could help further on it.
Best Regards,
Cherry
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |