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

Be 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

Reply
heavyarms308
Regular Visitor

Help Modeling when all fact values are in single column

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. 

 

FORMFIELD_NAMEFIELD_VALUE
1age16
1citydallas
1statetexas
1year2018
1hair colorbrown
2carford
2modelmustang
2model year1999
2degreephd
2jobyes
1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

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

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.