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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
sid-poly
Helper I
Helper I

Parent and Child Hierarchy in a table

I have a table as mentioned below

 

Project NumberProject Number CopyName
P011High Level Project
P011.1Low Level Project
P011.2Medium Level Project
P022Second Project

 

I need to have a table visual which when filtered with Project Number should only show me Project Names that have project number copy with a decimal (Sub Task). Is there a DAX that can help to formulate this condition?

1 ACCEPTED SOLUTION

@sid-poly 

ProjectNumber =
MAXX (
    FILTER (
        VALUES ( 'Table'[Project Number Copy] ),
        CONTAINSSTRING ( 'Table'[Project Number Copy], "." )
    ),
    'Table'[Project Number Copy]
)

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

Hi @sid-poly 
Place the following filter measure in the filter pane of the table visual, select "is not blank" and apply the filter.

FilterMeasure =
COUNTROWS (
    FILTER (
        VALUES ( 'Table'[Project Number Copy] ),
        CONTAINSSTRING ( 'Table'[Project Number Copy], "." )
    )
)

 

In that case I can iuse the Project Number Copy as text and Exclude the ones that do not contain "."

 

What I wanted to know is that any DAX Measure that returns a column which can be used in a table?

@sid-poly 

ProjectNumber =
MAXX (
    FILTER (
        VALUES ( 'Table'[Project Number Copy] ),
        CONTAINSSTRING ( 'Table'[Project Number Copy], "." )
    ),
    'Table'[Project Number Copy]
)

Helpful resources

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