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

How to get a column from the table that is filtered by another column?

Now, my calculated table looks like this:

FRU Status intermediate table = 
ADDCOLUMNS(
    VALUES('All Project v2'[Project Name]),
        "Flag", [stat chart]
    )

VALUES() here returns all values of the [Project Name] column.

I need it to return values based on the column 'All Project v2'[Dashboard Created] = "Yes", so if the 'project' has 'dashboard' - return the column.


2 ACCEPTED SOLUTIONS
johnt75
Super User
Super User

FRU Status intermediate table =
ADDCOLUMNS (
    CALCULATETABLE (
        VALUES ( 'All Project v2'[Project Name] ),
        'All Project v2'[Dashboard Created] = "Yes"
    ),
    "Flag", [stat chart]
)

View solution in original post

tamerj1
Super User
Super User

Hi @Anonymous 

please try

FRU Status intermediate table =
SUMMARIZE (
    FILTER ( 'All Project v2', 'All Project v2'[Dashboard Created] = "Yes" ),
    'All Project v2'[Project Name],
    "Flag", [stat chart]
)

View solution in original post

5 REPLIES 5
tamerj1
Super User
Super User

Hi @Anonymous 

please try

FRU Status intermediate table =
SUMMARIZE (
    FILTER ( 'All Project v2', 'All Project v2'[Dashboard Created] = "Yes" ),
    'All Project v2'[Project Name],
    "Flag", [stat chart]
)
Anonymous
Not applicable

I tried it, and it works fine, but it doesn't solve the further problem...

Well, technically, you guys gave me the solution, so...

johnt75
Super User
Super User

FRU Status intermediate table =
ADDCOLUMNS (
    CALCULATETABLE (
        VALUES ( 'All Project v2'[Project Name] ),
        'All Project v2'[Dashboard Created] = "Yes"
    ),
    "Flag", [stat chart]
)
Anonymous
Not applicable

It does work, yes. But a new problem arose: I can't create a relationship with the table I am pulling columns from due to circular dependency.

With Values() it doesn't have CD

use DISTINCT instead of VALUES

Helpful resources

Announcements
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.