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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
RandyPgh
Resolver III
Resolver III

SharePoint variance when change multiple choice column to single select

We had an online SharePoint list with a lookup that allowed for multiple selections. This was switched to single selection. In the service, our Power BI dataflow returned all list items with a selected lookup value as a single ID number, but any items that did not have any selected value were returned as an empty list rather than null. The Desktop, however, was returning null for these empty selections.

 

On the chance that this variance was a 1.0 vs 2.0 variance or that we would later decide to move object logic into a dataflow, we added logic on both platforms to convert the empty list items to null. For example, if the column with mixed types was named [OldMultiSelect], the lazy way to avoid needing to change downstream code is

 

1. added column with logic 

    if Value.Is( [OldMultiSelect], type list) then null else [OldMultiSelect]

2. removed [OldMultiSelect] column

3. renamed new column from #1 above to [OldMultiSelect]

 

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @RandyPgh ,

 

Thanks for sharing!

 

Best Regards,

Jay

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

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @RandyPgh ,

 

Thanks for sharing!

 

Best Regards,

Jay

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors