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
Alex_Ra
Frequent Visitor

Slicer on Calculated Table

Hi. I have a calculated table 'average_per_product' formula is below. Table revenue has a relationship with table users. I want average_per_product table to be filtered by a slicer that uses users table - how could I achieve it?

 

average_per_product = 
    groupby(
        addcolumns(
            groupby(
                revenue, 
                revenue[client_id], 
                revenue[billing_cycle],
                revenue[first_product_name]),
            "avg_per_user", calculate(sum(revenue[gross_tax]))
        ), 
        revenue[billing_cycle],
        revenue[first_product_name],
    "avg_per_product", averagex(currentgroup(), [avg_per_user]))
1 REPLY 1
Anonymous
Not applicable

Hi @Alex_Ra,

AFAIK, current power bi desktop does not support to create dynamic calculated column/tables based on filter effects. They not work on the same level and you can't use the child to effect its parent.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.