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

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

Reply
Anonymous
Not applicable

Dynamic Table based on selected value

Hi everyone, 

I would like to create a table based, such as: 

MonthTable =
ADDCOLUMNS(
GENERATESERIES(1, 12, 1), 
"ValueInPesos",
VAR SelectedYearSELECTEDVALUE(Calendar[Year]),
RETURN
CALCULATE(
[ValueInPesos],
FILTER(
'EXP (Summary)',
'EXP (Summary)'[Año] = SelectedYear 
)
) / 12
)
 
My goal is to divide a budget for a specific year by 12 in order to equal repartition over the months. My problem is that when I select a specific year from my calendar ('EXP (Summary)'[Año] is linked to my Calendar[Year]), I got blank values and so no values. If I change SelectedYear by a constant value (like 2024), it works. In my opinion, it is simply that my table doesn't get access to the selected value. 
 
Does anyone know how to solve this issue?
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You cannot create calulated columns or calculated tables from measures or filters.  Only the other way round.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You cannot create calulated columns or calculated tables from measures or filters.  Only the other way round.

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.