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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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 Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.