Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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?
Solved! Go to Solution.
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
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!!! 😄
User | Count |
---|---|
84 | |
78 | |
71 | |
48 | |
42 |
User | Count |
---|---|
111 | |
56 | |
50 | |
41 | |
40 |