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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MP-iCONN
Resolver I
Resolver I

Turning a filter into a parameter for a Paginated Report

I have this DAX query below that filters on Sales Reps but am having trouble turning it into a Paramater so my Paginated Report can filter on it using a drop down.  Any help would be greatly appreciated!

 

DEFINE
    VAR __DS0FilterTable = 
        FILTER(
            KEEPFILTERS(VALUES('SalesByCust'[Name.1])),
            
                'SalesByCust'[Name.1] IN 
                   {"Sales Rep 1",
                    "Sales Rep 2",
                    "Sales Rep 3",
                    "Sales Rep 4",
                    "Sales Rep 5",
                    "Sales Rep 6",
                    "Sales Rep 7"}
            )
        
EVALUATE
SUMMARIZECOLUMNS(
            'SalesByCust'[CustomerName],
            'SalesByCust'[Name.1],
            __DS0FilterTable,
        
            "v2023", 'SalesByCust'[2023],
            "v1_Last_MTD_Sales", 'SalesByCust'[1_Last MTD Sales],
            "v1_MTD_Sales", 'SalesByCust'[1_MTD Sales],
            "SumProjected_Total", CALCULATE(SUM('SalesByCust'[Projected Total])),
            "Var_to_Forecast", 'SalesByCust'[Var to Forecast],
            "Sumv07", CALCULATE(SUM('ForecastSheet'[07]))
        )

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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