Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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]))
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
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |