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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
afabiano
Frequent Visitor

Database structure help

Im sure this can be done but I could use some guidance

 

I have table with about 40 columns appended from multiple tables. The first column are the dates where an "exceedance" was recorded. What I would like to do is have a single column for all the exceedances next to the date column. I would also like to know which column the data is coming from beside the result.  See the current structure below. Anyone think they can help with this? Thanks!

 

 

recorPowerBI.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Load this data into the Query Editor.  Select your Date column.  Then go to the Transform tab of the Ribbon, and click Unpivot Other Columns.  You can also right click on the Date column and get to this option from there.

 

That should give you what you're looking for.

View solution in original post

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@afabiano,

 

By the way, In DAX, you may take a look at the GENERATE Function similar to the CROSS APPLY condition in SQL.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Load this data into the Query Editor.  Select your Date column.  Then go to the Transform tab of the Ribbon, and click Unpivot Other Columns.  You can also right click on the Date column and get to this option from there.

 

That should give you what you're looking for.

Phenominal - thanks!

Anonymous
Not applicable

@afabiano, if this method worked for you, please consider marking the reply as a solution.  That way users will see a green check mark on the thread, and the solution will always stay at the top of the thread.

 

Cheers,

 

~ Chris

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.