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
Shinu1
Helper II
Helper II

Calculated Table based on Slicer selection

Hi,

I'm trying to get filtered data based on slicer selection into a calculated column. But for some reason only the hardcoded values (eg: Forecast V4) data are only pulled into the table. 
The dynamically selected slicer values (eg: Budget V1 and Budget V2) are not being pulled into the calculated table.

 

Below is the snaphot of the dax formula. Not sure where am i going wrong. 

 

Please help

 

Capture.JPG

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

Hi, @Shinu1 

May I ask if your problem has been solved? Is the above post helpful to you?

 

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

How to Get Your Question Answered Quickly

 

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Shinu1 , You can not use slicer value in the calculated table.

 

You can have such table as  var in measure and use that

 

measure  =

var _tab =<Table code>

return

sumx(_tab, [Column])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Not sure how to use the slicer selection in sumx.  But i need a table with around 5 column (Account, Cycles, Scenario,Attribute and Amt) having Cycle field filtered based on Slicer selection

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.

Top Solution Authors