Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Snapdrag
Helper II
Helper II

xViz Performance Flow - Display different values at different hierarchy level

I am facing issue in presenting different values at different hierarchy level in the xViz Performance Flow visual. It add all the values from last hierarchy and show the result at upper level. I have tried using INSCOPE dax measure which is working fine in matrix visual but not working with xViz Performance Flow visual. 

 

Level 1Level 2Level 3Value
GrowOutA3
GrowOutB4
GrowOutC5
GrowOutD6
GrowInE7
GrowInF8
GrowInG9
GrowInH2

 

At Level 3 I have to show the value column as it is. At level I will pick the Average for "In" and "Out" and Maximum of "In" and "Out" at Level 1.

Snapdrag_0-1722005881498.png

 



1 REPLY 1
Anonymous
Not applicable

Hi,@Snapdrag  I am glad to help you.
According to your description, you want to implement the effect shown in the matrix in a custom visual: for each level, show the results of the calculations defined for each level
For level3, display the value values.
For level 2, show the average of the values for level 3 according to the hierarchical classification (3+4+5+6)/4=4.5
(7+8+9+2)/4=6.4
For level1, show the maximum value for level2 according to the hierarchical classification.
Take the maximum value 6.5 out of 4.5 and 6.5.
like this.

vjtianmsft_0-1722228032129.png
I created the measure and as you described, it shows up well in the matrix

vjtianmsft_1-1722228072109.png

vjtianmsft_2-1722228093975.png
As for the custom visual object: xViz Performance Flow, it can only show the set aggregation value for the parent level which has children, but it doesn't support to show the correct result according to the hierarchical judgment logic in the measure.
In fact, I tried to show it as table, and it shows that for the parent level, xViz Performance Flow doesn't show the correct result for the measure, they use the aggregation type that is initially set in the visual.

 

vjtianmsft_3-1722228133854.pngvjtianmsft_4-1722228143775.png
Therefore, I suggest you contact the visual's production team to see if the visual can automatically display the judgment logic in the measure based on the hierarchical judgment.
You can get more help by visiting the corresponding visual forum.

URL:
Performance Flow - xViz (microsoft.com)
Frequently asked questions (FAQ) | xViz
 Or you can look through visual shops for more custom visual like this to see if there are other visual that support your idea!
Here is the code and data I tested

M_filtered = 
VAR _value2=CALCULATE(AVERAGE('Table'[Value]),FILTER(ALL('Table'),'Table'[Level 2]=MAX('Table'[Level 2])))
VAR _value1=CALCULATE(MAXX('Table',[M_level_2]),FILTER(ALL('Table'),'Table'[Level 1]=MAX('Table'[Level 1]))) 
VAR result= SWITCH(TRUE(),
ISINSCOPE('Table'[Level 3]),MAX('Table'[Value]),
ISINSCOPE('Table'[Level 2]),_value2,
ISINSCOPE('Table'[Level 1]),_value1,
SUM('Table'[Value])
)
RETURN result

vjtianmsft_5-1722228223756.png

search for other visuals

vjtianmsft_6-1722228248209.png


I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors