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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Dax query parameters set up for paginated report

Hi All,

I am new to paginated reports.

I copeid Dax query from Desktop and trying to create parameters .

Can some one help me how to create a parameter in the below Dax query please.

I need parameters on PL GROUP & Month

Thanks

 

// DAX Query
DEFINE
VAR __DS0Core =
SUMMARIZECOLUMNS(
ROLLUPADDISSUBTOTAL(
ROLLUPGROUP(
'LCS GL-Data'[PL Group],
'LCS GL-Data'[PL Item Description],
'LCS GL-Data'[GL Account],
'LCS GL-Data'[AccountDescription],
'LCS GL-Data'[Month],
'LCS GL-Data'[Sort Month Year],
'LCS GL-Data'[TransactionDate]
), "IsGrandTotalRowTotal"
),
"Total_Actual", 'LCS GL-Data'[Total Actual],
"PreviousYearCalc", 'LCS GL-Data'[PreviousYearCalc],
"MTD_Variance", 'LCS GL-Data'[MTD Variance]
)

VAR __DS0PrimaryWindowed =
TOPN(
502,
__DS0Core,
[IsGrandTotalRowTotal],
0,
'LCS GL-Data'[PL Group],
1,
'LCS GL-Data'[PL Item Description],
1,
'LCS GL-Data'[GL Account],
1,
'LCS GL-Data'[AccountDescription],
1,
'LCS GL-Data'[Sort Month Year],
1,
'LCS GL-Data'[Month],
1,
'LCS GL-Data'[TransactionDate],
1
)

EVALUATE
__DS0PrimaryWindowed

ORDER BY
[IsGrandTotalRowTotal] DESC,
'LCS GL-Data'[PL Group],
'LCS GL-Data'[PL Item Description],
'LCS GL-Data'[GL Account],
'LCS GL-Data'[AccountDescription],
'LCS GL-Data'[Sort Month Year],
'LCS GL-Data'[Month],
'LCS GL-Data'[TransactionDate]

1 REPLY 1
Anonymous
Not applicable

Hi  @Anonymous ,

You may refer to this blog and video for more details and I hope they could help you solve your problem.

Blog1: Create parameters for paginated reports in the Power BI service

Blog2: Report parameters in Power BI Report Builder

Video: Power BI Paginated Reports in a Day - 11: Working with Parameters - Part 1

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors