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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Andshepch
Advocate II
Advocate II

Help with Calculated Table - I need to filter

Hi all,

 

I have a calculated table using the following formula:

 

SBU Sold GBL CIS Intra = SELECTCOLUMNS('1 Sold',"Selling SBU","GBL CIS",
"Interco",'1 Sold'[InterCo],
"Business Priority Offer",'1 Sold'[Business Priority Offer],
"P&C",'1 Sold'[P&C],
"Cloud/Cyber",'1 Sold'[Cloud/Cyber],
"Sales Stage Date",'1 Sold'[Sales Stage Date],
"Sold CV €M",'1 Sold'[CV €M],
"Sold CM €M",'1 Sold'[CM €M])

and all I need to do is make the calculated table only include rows wher the field '1 Sold'[InterCo] contains the text "intra". I know it's probably simple, but I can't work out how to do it. Can you please help?

 

Thank you

 

Andrew

1 ACCEPTED SOLUTION
AlB
Super User
Super User

Hi @Andshepch 

try this:

SBU Sold GBL CIS Intra =
FILTER (
    SELECTCOLUMNS (
        '1 Sold',
        "Selling SBU", "GBL CIS",
        "Interco", '1 Sold'[InterCo],
        "Business Priority Offer", '1 Sold'[Business Priority Offer],
        "P&C", '1 Sold'[P&C],
        "Cloud/Cyber", '1 Sold'[Cloud/Cyber],
        "Sales Stage Date", '1 Sold'[Sales Stage Date],
        "Sold CV €M", '1 Sold'[CV €M],
        "Sold CM €M", '1 Sold'[CM €M]
    ),
    FIND ( [Interco], "intra", 1, 0 ) > 0
)

 

View solution in original post

1 REPLY 1
AlB
Super User
Super User

Hi @Andshepch 

try this:

SBU Sold GBL CIS Intra =
FILTER (
    SELECTCOLUMNS (
        '1 Sold',
        "Selling SBU", "GBL CIS",
        "Interco", '1 Sold'[InterCo],
        "Business Priority Offer", '1 Sold'[Business Priority Offer],
        "P&C", '1 Sold'[P&C],
        "Cloud/Cyber", '1 Sold'[Cloud/Cyber],
        "Sales Stage Date", '1 Sold'[Sales Stage Date],
        "Sold CV €M", '1 Sold'[CV €M],
        "Sold CM €M", '1 Sold'[CM €M]
    ),
    FIND ( [Interco], "intra", 1, 0 ) > 0
)

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.