Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello All,
Is this measure hierarchy possible to implement ?
I have 3 measures for each season.
Season 1
Measure 1
Measure 2
Measure 3
Season 2
Measure 1
Measure 2
Measure 3
When user selects Season 1 I want to 3 measures selected in the BAR chart.
Is it possible ?
Thanks 🙂
Solved! Go to Solution.
actully you don't need to cream a calculation group. Simply create a single column disconnected table that contains measure names. Then create a ResultMeasure that uses a SWITCH statement to switch between different measures based on the MeasureName in the current filter context. In the chart place only ResultMeasure in the values and Measures[MeasureName] in the x-axis
Measures =
SELECTCOLUMNS (
"MeasureName",
{ "Measuure 1", "Measuure 2", "Measuure 3" },
[Value]
)
ResultMeasure =
SUMX (
VALUES ( Measures[MeasureName] ),
SWITCH (
Measures[MeasureName],
"Measure 1", [Measure 1],
"Measure 2", [Measure 2],
"Measure 3", [Measure 3]
)
)
actully you don't need to cream a calculation group. Simply create a single column disconnected table that contains measure names. Then create a ResultMeasure that uses a SWITCH statement to switch between different measures based on the MeasureName in the current filter context. In the chart place only ResultMeasure in the values and Measures[MeasureName] in the x-axis
Measures =
SELECTCOLUMNS (
"MeasureName",
{ "Measuure 1", "Measuure 2", "Measuure 3" },
[Value]
)
ResultMeasure =
SUMX (
VALUES ( Measures[MeasureName] ),
SWITCH (
Measures[MeasureName],
"Measure 1", [Measure 1],
"Measure 2", [Measure 2],
"Measure 3", [Measure 3]
)
)
@Puja Please go through this i hope this helps you
#First Link for bar Chart
https://youtu.be/UnG0u8J0pSc
https://youtu.be/2y2VP6i8S8c
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you!!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |