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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.