Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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!
@tvaishnav , refer if this can help
https://stackoverflow.com/questions/68820105/pass-a-parameter-to-dax-query-report-builder
@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.
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |