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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Presentation variables

can we capture the values form dashboard prompt in variable and pass it to the underlying report of the Column formulas

for example I want to build something like this
case when Month is selected filter (measure using Month between start month and end month)
case when Quarter is selected filter (measure using Month between start Quarter and end Quarter)
Else select YTD

3 REPLIES 3
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous,

 

You can create a hardcoded table containing values : "Monthly","Quarterly" and "Yearly".

 

and a measure is to be created as :

 

Measure = IF ( ISFILTERED(Table[Column]) && SELECTEDVALUE(Table[Column])="Monthly",[Your Monthly measure],

                        ISFILTERED(Table[Column]) && SELECTEDVALUE(Table[Column])="Quarterly",[Your Quarterly measure],

                        [YTD Measure])

 

Hope this helps.

Anonymous
Not applicable

How can we equate ISFILTERED(Table[Column]) = Monthly .. what I understand is ISFILTERED(Table[Column]) is the Month column from the Calendar Dimension

Hello,

 

Table[Column] is the column from the new hardcoded column, and here, we arent equating with ISFILTERED function but with the SELECTEDVALUE function.

 

Let me know if it still doesn't work.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.