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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
maserr
Helper IV
Helper IV

Choose a column using a parameter

Dear all,

 

I have a difficult situation I am afraid I do not have a solution. I am creating a table in Report Builder that is using a SSAS tabular cube. The fact is that this report tries to be a general report that depending on several measures shows data. This data shown depends on the measure chosen so this measure (a column) would have to be selected dynamically depending on the parameter that has been decided.

 

Is there any way to do that? I cannot manually do it because I have nearly 300 measures and each one has several conditions.

I could put on my table all these measures but I would need to dynamically filter by one of this depending on the parameter.

 

Thanks in advance,

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Not sure I am following 100% but perhaps you are trying to do something like this:

 

Measure = 

  SWITCH([Some Measure],

    "Condition 1",[Measure 1],

    "Condition 2",[Measure 2],

    "Condition 3",[Measure 3],

    ....

  )



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks Greg, yes I mean that but applied on the Query Desginer of my Data Set in Report Builder. Could this be possible?

 

Thanks another time

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.