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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Pivot column transform - occasional column

Morning all 

 

As context I have used the group by and pivot transformations to summarise which tracks responses to a survey. My issue arises when a particular column is not constant, for example the column is called 'request ruling' once this request has been actioned by staff the value becomes something else in the dataset. 

 

This vanishing column gives me a refresh error in the service, stating that column doesnt exist.

 

my question is there a way using grouo by and transform that i get get these request ruling column to stay. 

 

thanks 

 

James 

1 ACCEPTED SOLUTION
artemus
Microsoft Employee
Microsoft Employee

For the pivot step, replace List.Distinct(...) with {"Value1", "Value2", "Value3", ...}

Replacing each "ValueN" with your values.

 

Alternativly, you can manually insert any that you are missing by replacing List.Distinct(...) with List.Distinct(... & {"MissingValue1", "MissingValue2", ...})

View solution in original post

2 REPLIES 2
artemus
Microsoft Employee
Microsoft Employee

For the pivot step, replace List.Distinct(...) with {"Value1", "Value2", "Value3", ...}

Replacing each "ValueN" with your values.

 

Alternativly, you can manually insert any that you are missing by replacing List.Distinct(...) with List.Distinct(... & {"MissingValue1", "MissingValue2", ...})

Anonymous
Not applicable

Legend thank you 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors