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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ZeNable
Frequent Visitor

retrieve column name if empty

Hi there,

 

I have some difficulties to combine text columns name with the result I want. If someone could help me to point me to the right direction please 🙂

 

So I have this table :

Col1    Col2  Col3  Col4        Wanted

AB  Col3, Col4
 B  Col1, Col3, Col4
A C Col2, Col4
A   Col2, Col3, Col4
 B DCol1, Col3

 

1 ACCEPTED SOLUTION

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

9 REPLIES 9
ZeNable
Frequent Visitor

Hi ryan_mayu,

Thanks for this exemple, it help me a lot, i have a last need, i need to get a specific empty column name ( Col1, Col2) not all of them, what is the fonction to add for that please ?

Regards,

ZeNab

ZeNable
Frequent Visitor

Hi ryan_mayu,

Thanks for this exemple, it help me a lot, i have a last need, i need to get a specific empty column name not all of them, what is the fonction to add for that please ?

Regards,

ZeNab

what's the expected output based on the sample data you provided?

Could you pls update?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




based on the example, I need to check a specific empty column name ( Col1, Col2,Col3) not all of the empty column.

Thanks alot

sry, still not understand your request. could you pls update the table below?

 

Col1    Col2  Col3  Col4        Wanted

A B     Col3, Col4
  B     Col1, Col3, Col4
A   C   Col2, Col4
A       Col2, Col3, Col4
  B   D Col1, Col3




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Col1    Col2  Col3  Col4     Wanted

AB  Col3
 B  Col1, Col3
A C Col2
A   Col2, Col3
 B DCol1, Col3

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you ryan_mayu 😉

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ryan_mayu
Super User
Super User

@ZeNable 

here is a workaround for you, pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.