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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Use filter function for filtering data then i save it into one variable "newTable".
Now i want to access disitinct vlaues from one of column filter table but cannot access column form table store in variable.
How can i do this in single step?
Solved! Go to Solution.
Hey @Ali123 ,
it doens't really work like that with variables. You cannot just replace a table with a variable and access the column.
In general the following approach shoud work:
Category =
DISTINCT (
SELECTCOLUMNS (
FILTER (
telecom_customer_churn,
telecom_customer_churn[churn Category] <> BLANK ()
),
"churn Category", [churn Category]
)
)
For filtering CALCUALTETABLE is the better choice compared to FILTER, so would even use the following approach:
Category =
DISTINCT (
SELECTCOLUMNS (
CALCULATETABLE (
telecom_customer_churn,
telecom_customer_churn[churn Category] <> BLANK ()
),
"churn Category", [churn Category]
)
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Hey @Ali123 ,
it doens't really work like that with variables. You cannot just replace a table with a variable and access the column.
In general the following approach shoud work:
Category =
DISTINCT (
SELECTCOLUMNS (
FILTER (
telecom_customer_churn,
telecom_customer_churn[churn Category] <> BLANK ()
),
"churn Category", [churn Category]
)
)
For filtering CALCUALTETABLE is the better choice compared to FILTER, so would even use the following approach:
Category =
DISTINCT (
SELECTCOLUMNS (
CALCULATETABLE (
telecom_customer_churn,
telecom_customer_churn[churn Category] <> BLANK ()
),
"churn Category", [churn Category]
)
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |