March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi folks,
is it possible to perform a one-to-many lookup with measure, not calculated column? When I work with calculated columns and tables it's so intuitive, but with measures I just miss the row context...
simple example:
I have two tables with one-to-many relationship. Now I want to create a table visual and display id with values for choosen category.
I can't use LOOKUPVALUE properly because I can't say object.id = lookup.object_id.
Any ideas?
Solved! Go to Solution.
HI @eniX
In that case
Measure = VAR Myresult = CONCATENATEX ( LookUp, LookUp[value], ", " ) RETURN IF ( ISBLANK ( Myresult ), "", myresult )
How are you man?
What are your expected results?
Try this MEASURE
Measure = CONCATENATEX ( LookUp, LookUp[value], ", " )
trying to get used to DAX 🙂
your measure is nearly what I try to achieve, but I need a left join there instead of inner join. By this I mean I need a full list of objects(id) no matter, if the measure is empty or not. so in your example i also need to see ids 3,5 and 6 with an empty mesure each.
HI @eniX
In that case
Measure = VAR Myresult = CONCATENATEX ( LookUp, LookUp[value], ", " ) RETURN IF ( ISBLANK ( Myresult ), "", myresult )
Perfect, thank you again 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
168 | |
116 | |
63 | |
57 | |
50 |