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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to get selectedvalue output from Report Page into DAX Data Table

Hello PowerBI Community, 

 

I have hit a major roadblock while developing dynamic column reference for matrix visual. Below is the summary:

 

INPUT Table (this is already loaded in DAX Data):

Vaibhav_W_1-1655885271516.png

 

EXPECTED Output Table : (This is matrix visual on report page)

Vaibhav_W_2-1655885348463.png

 

Current method which I'm trying:

Made separate table which has column headers & put that as slicer with single selection, then used "selectedvalue" to take the bucket that should go in Column of matrix visual. But, Power BI is not allowing to insert measure in matrix column (only allows in values)

 

The alternate solution which I tried: We want to put selected value of slicer in DAX Data Table so that we can create calculated column referring to bucket which user wants like below. But, "selectedvalue" dax is returning only blank values in Data Table. Expected output is like below so that I can drag this colum in "Column Field" of matrix visual.

 

Vaibhav_W_3-1655886575612.png

So, in a nutshell, two issues :

i. Not able to add measure in column field of mattrix visual

ii. Not able to pull "selectedvalue" from report page in data table

 

Will really appreciate help from the community as this is the key page on the report & I'm stuck with this issue...

 

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Dear Amit, Thank you for the swift reply. But, the table is in DAX Model & Not in Power Query editor. This table is a result of DAX calculations. Any suggestions will be highly appreciated.

amitchandak
Super User
Super User

@Anonymous , I think you should unpivot the first table and bring the day bucket in a row. If needed, use split by delimters

 

Then you should be able to get that using slicer or you can check for field parameters

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors