Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi
I am using CONCATENATEX to concatenate customer numbers from 1 column but using USERELATIONSHIP to point to another date column to ensure all the required customer numbers are being puled through.
However the DAX measure will return duplicate values and I would appreciate some assistance to be able to show only distinct values in this list.
Thanks for taking the time to stop by and read my query.
Here is the DAX measure I am using:
Customer.Nos =
CONCATENATEX(
TblIDRP,TblIDRP[Customer Number],
", ",
TblIDRP[Customer Number],
ASC
) & ", " &
CALCULATE(
CONCATENATEX(
TblIDRP,TblIDRP[Customer Number],
", ",
TblIDRP[Customer Number],
ASC
),
USERELATIONSHIP( TblIDRP[Date Trustee Decision Sent], DimDate[Date]))
As always, any assistance is greatly appreciated.
Paul
@PaulMac , Why are you using the customer name 4 times,
it should like
calculate(
CONCATENATEX(Summarize(TblIDRP,TblIDRP[Customer Number]) ,TblIDRP[Customer Number],",", ASC),
USERELATIONSHIP( TblIDRP[Date Trustee Decision Sent], DimDate[Date]))
User | Count |
---|---|
128 | |
108 | |
100 | |
64 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |