Forum Discussion
JWizard9891
1 year agoRegular Visitor
Displaying Programme / Project relationship in a PowerBI Matrix
Hi, I am trying to create a matrix that shows projects under their parent programme in a PowerBI matrix table. The Rows are the Function column in the table below The Columns are the Stage colum...
- Anonymous1 year ago
Hi JWizard9891 ,
Thank you for reaching out to us on Microsoft Fabric Community Forum!
Upon my understanding,I tried to recreate it on my local with the sample data.So that,I followed below steps which might help you to resolve your query.- Create a calculated column to generate hierarchy-friendly name using below:
DisplayName =
IF (
'Table'[Type] = "Programme",
'Table'[Name],
REPT(" ", 1) & 'Table'[Name]
) - Create a Parent-Child calculated column using below:
DisplayName =
IF (
'Table'[Type] = "Programme",
'Table'[Name],
REPT(" ", 1) & 'Table'[Name]
) - Create a hierarchy or sorting logic using below:
SortOrder =
IF (
ISBLANK('Table'[ProgLink]),
0,
1
) - Now,Build the Matrix visual by adding below values into the fileds:
-
Rows: Function and DisplayName
-
Columns: Stage
-
Values: Count of ID
- Please refer the screenshot and file for your reference:
If my answer meets your requirements,consider accepting it as solution.
Regards,
Pallavi G.
- Create a calculated column to generate hierarchy-friendly name using below:
Anonymous
1 year agoNot applicable
Hi JWizard9891 ,
Following up to check whether you got a chance to review the suggestion given.I hope this helps.If so,consider accepting it as solution,it will be helpful for other members of the community who have similar problems as yours to solve it faster. Glad to help.
Thank you.