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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jothi_prakash_a
Frequent Visitor

Measures in a table by row level

I have the following measures.

 

FlagCount, AvgVal, Decile

 

And I want these measures in like a table format in row level.

 

Something like this.

 

ColumnNameMeasures
Column1FlagCount
Column2AvgVal
Column3Decile

 

The above table will be used in a bar chart and the dashboard has slicers. how can I achieve this?

Thank you!

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

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.

 

 

View solution in original post

1 REPLY 1
sturlaws
Resident Rockstar
Resident Rockstar

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.

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.