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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
wolfy_
Helper I
Helper I

Output Columns False Values

Hi,
Is there any function that tell me what are the columns with false values.
For example, I want the output be COLUMN A; COLUMN C for line 1

 

Column AColumn BColumn CColumn Dexpected output
FALSETRUEFALSETRUEColumn A; Comumn C
TRUETRUETRUEFALSEColumn D
FALSEFALSEFALSEFALSEColumn A; Comumn B; Column C; Comumn D; 
TRUETRUETRUETRUE 
9 REPLIES 9
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @wolfy_ ,

Based on my research, there is no dax function to get column name, you could refer to others' solutions by using M code in query editor or you could submit an idea in ideas forum:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@wolfy_ got it, I think @Ashish_Mathur has solution in place and should get you what you are looking for. Cheers!!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi,

 

 

I was trying to implement and noticed that the table is created as a DAX expression.

 

@parry2k @Ashish_Mathur is a solution for this?

Hi,

Mine is an M code.  So if you original table is a Table created via DAX, then my solution will not work.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
parry2k
Super User
Super User

@wolfy_ is there alway going to be 4 columns?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k,

 

No the number of columns can variate.

@wolfy_ sounds good. solution attached. Most of the work is done in power query to transform the table and then a measure take cares of concatenating the columns.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k I wasn't clear about my data and my objective.

 

My data is like:

 

I would like to have "measure" that would give the output

 

true_false.png

 

For example for the first line it would be some like: CHECK_MR

 

If for example was
False; False; True

the output would be "CHECK_name_MRBTS_s_LNBTS;CHECK_MR

If it is

True; False; False

CHECK_MR;CHECK_cPlanedscp

 

 

Thanks in advance

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.