Forum Discussion
NEED HELP IN POWER BI
Hi power bi developers, please help me out
I have a columns like this in power bi - attachment given.
1.I have to keep a filter with higher members- only (XX123 ,XX124)- IF I SELECT THE ANY ONE IN FILTER IT SHOULD SHOW FROM HIGHER TO LOWER path with aggregation chart
I have to show the chart like this - chart snap attached below. OR ANY RECOMMENDED VISUALS IN POWER BI.
PLEASE HELP ME ! i'M NEW TO POWER BI🙏
17 Replies
- sarath_chandra
Helper III
tamerj1 Jihwan_Kim Martin_D Sahir_Maharaj please help me out .please
- Martin_D
Solution Sage
Hi sarath_chandra ,
You can add the visual you need from App Source. In Power BI Desktop click on "Get more visuals" and search for one of:
Hierarchy Chart by MAQ Software
swOrgChart
Hierarchy Chart by Akvelon
TreeViz
Ultimate Decomposition Tree
Add custom visual
While with Hierarchy Chart by MAQ Software, swOrgChart, and Hierarchy Chart by Akvelon you can use your PK and CK columns as they are, with TreeViz and Ultimate Decomposition Tree you need to create columns per category (e.g. manager, team lead, implementer, ...) first in your table.
For each visual you can download a sample file so you can choose your preferred option.
BR
Martin
- sarath_chandra
Helper III
Thanks for input Martin_D
but im expecting like this as mentioned below
im having parent and child columns are duplicates and im having the level in another columnim need this kind of desired output
please help me in this ...
- Martin_D
Solution Sage
Referring to your table in message 1, in order to build the slicer you need:
- A disconnected table (i.e. a table that has no relationship in the data model) with a distinct list of your parent nodes. This DAX code creates this table:
DAX code for a new table:Slicer Values = SUMMARIZECOLUMNS ( 'Table'[PK] ) - A measure to be used to select the complete branch below the top node that you want to select in the slicer:
DAX code for a new measure:Show Node =VAR _TopNode = SELECTEDVALUE ('Slicer Values'[PK] )VAR _CurrentNodePath = SELECTEDVALUE ( 'Table'[Path] )RETURNIF (OR (NOT ( ISFILTERED ( 'Slicer Values' ) ),PATHCONTAINS( _CurrentNodePath, _TopNode )),"show") - Apply the new measure as a filter to your preferred visual for showing the hierarchy like this:
Apply visual level filter using measure
With Hierarchy Chart by MAQ Software as an example, the solution bahaves like this:
No parent node selected in the slicer:
No filterA parent node selcted:
A filter setA different parent node selected:
A different filter set
- sarath_chandra
Helper III
Thanks for your great work! Martin_D .
above code - if i filter it will show upto the hier length of (1,2,3) not filtering the 4 and 5 hier depthscan you please help me in second case with multiple parent and multiple child column values?
but actually i need that in matrix table instead of hier chart
please help me out ! .Thanks for your great work ! great appreciation
- A disconnected table (i.e. a table that has no relationship in the data model) with a distinct list of your parent nodes. This DAX code creates this table:
- sarath_chandra
Helper III
Jihwan_Kim please help me out in above problem