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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
tvaishnav
Helper IV
Helper IV

How to create parameters in Power BI report builder with Power BI dataset is used as a data source?

I know basic DAX. Good enough to write basic measures. But I cannot really write full DAX queries like SQL query.

 

I have a Power BI dataset available in Power BI service. I need to create paginated report using that dataset. This requires DAX query. Per MS documentaion, I can use performance analyzer to grab DAX query and use that to create dataset. However, those won't include parameters. Is there a easy way to add parameters to DAX query? Or it is just better to use Query designer? 

 

Thanks!

2 REPLIES 2
amitchandak
Super User
Super User

@tvaishnav , refer if this can help

https://stackoverflow.com/questions/68820105/pass-a-parameter-to-dax-query-report-builder

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thank you for taking the time to respond.

 

That link did help somewhat and eventually I found this link to Chris's blog: https://blog.crossjoin.co.uk/2019/11/03/power-bi-report-builder-and-rscustomdaxfilter/

 

Looks like using DAX is way more complicated that I thought. If I have to choose between DAX and SQL for these reports, what should be a default choice?

 

I was inclining to DAX because I can resue the existng model. But that model gets all its data using SQL anyway.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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