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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pani_victoria
Helper I
Helper I

blank row

Good afternoon, colleagues!

I would like to combine column values from 3 tables into a separate table.
I use

Counterparties =
var A01 = ALLNOBLANKROW('Receipts'[Counterparty])
var A02 = ALLNOBLANKROW('Payment orders'[Counterparty])
var A03 = ALLNOBLANKROW('Accounting for responsible persons'[Counterparty])
VAR partners = DISTINCT(UNION(A01, A02, A03))
return
partners

The output I get is the values + an empty string.
I don't understand why it appears if I use ALLNOBLANKROW. How to remove it?

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

pls try this

Counterparties =
var A01 = ALLNOBLANKROW('Receipts'[Counterparty])
var A02 = ALLNOBLANKROW('Payment orders'[Counterparty])
var A03 = ALLNOBLANKROW('Accounting for responsible persons'[Counterparty])
VAR partners = DISTINCT(FILTER(UNION(A01, A02, A03),[Counterparty]<> BLANK()))
return
partners

View solution in original post

3 REPLIES 3
Ahmedx
Super User
Super User

pls try this

Counterparties =
var A01 = ALLNOBLANKROW('Receipts'[Counterparty])
var A02 = ALLNOBLANKROW('Payment orders'[Counterparty])
var A03 = ALLNOBLANKROW('Accounting for responsible persons'[Counterparty])
VAR partners = DISTINCT(FILTER(UNION(A01, A02, A03),[Counterparty]<> BLANK()))
return
partners

But could you explain why it doesn't work ALLNOBLANKROW?

Thanks a lot! It works!!! 😄

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.