Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have following tables with two level parent child hirarchy
And the output I need is a , comma separated Repo Names column in Story Table as seen below ->
Can someone please help me with a DAX query for the same?
Solved! Go to Solution.
Try
Repos =
VAR CurrentStory = Story[Story ID]
VAR PRs =
CALCULATETABLE (
VALUES ( 'Story PR'[PR ID] ),
TREATAS ( { CurrentStory }, 'Story PR'[Story ID] )
)
RETURN
CONCATENATEX (
CALCULATETABLE (
VALUES ( 'PR Repo'[Repo name] ),
TREATAS ( PRs, 'PR Repo'[PR ID] )
),
'PR Repo'[Repo name],
", "
)
Try
Repos =
VAR CurrentStory = Story[Story ID]
VAR PRs =
CALCULATETABLE (
VALUES ( 'Story PR'[PR ID] ),
TREATAS ( { CurrentStory }, 'Story PR'[Story ID] )
)
RETURN
CONCATENATEX (
CALCULATETABLE (
VALUES ( 'PR Repo'[Repo name] ),
TREATAS ( PRs, 'PR Repo'[PR ID] )
),
'PR Repo'[Repo name],
", "
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
17 | |
10 | |
10 | |
8 | |
6 |
User | Count |
---|---|
20 | |
18 | |
17 | |
13 | |
10 |