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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
puggaard
Advocate I
Advocate I

Filter DAX import query using a List vs Formula.Firewall error

Hi, 

 

I'm trying to do a DAX Import query filtered by a list. The list, tblSKUlist, comes from an Excel table, and the file is stored in Sharepoint / Teams.

 

My challenge is the Formula.Firewall error. I'd rather not change the privacy settings. (everything works locally when I do so, but I also need to make it work on the service)

 

Any suggestions?

 

let
    Source = AnalysisServices.Database(
    "cube.mycompany.org",
    "sales",
    [
        Query = " EVALUATE SUMMARIZECOLUMNS (
            Customer[Account No],
            Customer[Account],
            'Product'[SKU No],
            'Product'[SKU],
            'Order'[Order No],    

        FILTER ('Product', 'Product'[SKU No] = """ & Text.Combine ( tblSKUlist, """||'Product'[SKU No] =""" ) & """
        ),
    ""[Invoiced Qty]"", [Invoiced Qty],
    ""[Net Sales]"", [Net Sales]
            )",
        Implementation = "2.0"
    ]
),

 

 

KR, Peter

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Retrieve the Excel file contents in the same partition (query) rather than referencing it across partitions.

 

Behind the scenes of the Data Privacy Firewall - Power Query | Microsoft Learn

View solution in original post

2 REPLIES 2
puggaard
Advocate I
Advocate I

Hi lbendlin, it took some attempts to make it work, but the last part of the article made it! Thanks!

 

KR, Peter

lbendlin
Super User
Super User

Retrieve the Excel file contents in the same partition (query) rather than referencing it across partitions.

 

Behind the scenes of the Data Privacy Firewall - Power Query | Microsoft Learn

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors