Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have the following measures.
FlagCount, AvgVal, Decile
And I want these measures in like a table format in row level.
Something like this.
ColumnName | Measures |
Column1 | FlagCount |
Column2 | AvgVal |
Column3 | Decile |
The above table will be used in a bar chart and the dashboard has slicers. how can I achieve this?
Thank you!
Solved! Go to Solution.
Hi @jothi_prakash_a,
you can create a separate table, with the measure names on the rows.
Create a new measure like this:
MainMeasure =
VAR _measure =
CALCULATE ( SELECTEDVALUE ( MeasuresTable[Measures] ) )
RETURN
SWITCH (
TRUE (),
_measure = "Measure1", [Measure1],
_measure = "Measure2", [Measure2],
_measure = "Measure3", [Measure3]
)
An example
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi @jothi_prakash_a,
you can create a separate table, with the measure names on the rows.
Create a new measure like this:
MainMeasure =
VAR _measure =
CALCULATE ( SELECTEDVALUE ( MeasuresTable[Measures] ) )
RETURN
SWITCH (
TRUE (),
_measure = "Measure1", [Measure1],
_measure = "Measure2", [Measure2],
_measure = "Measure3", [Measure3]
)
An example
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
User | Count |
---|---|
82 | |
78 | |
67 | |
46 | |
45 |
User | Count |
---|---|
104 | |
44 | |
39 | |
39 | |
39 |