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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PatrickGreen
Advocate I
Advocate I

Default DAX Parameter Values

Hi! Are there options currently to set default values for DAX parameters? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi lbendlin ,thanks for the quick reply, I'll add more.

Hi @PatrickGreen ,

If I understand correctly, when the slicer selects "Month", create a bookmark. Then insert a button and bind the button to the previous bookmark. For details, please refer to the following article

Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn

 

Best Regards,
Wenbin Zhou

View solution in original post

4 REPLIES 4
PatrickGreen
Advocate I
Advocate I

Hi @lbendlin ! I have a parameter in DAX of this formula:

date_aggregation_parameter = {
    ("Day", NAMEOF(DateTable[Date]), 0),
    ("Week", NAMEOF(DateTable[Week]), 1),
    ("Month", NAMEOF(DateTable[Month Year]), 2),
    ("Quarter", NAMEOF(DateTable[Quarter Year]), 3),
    ("Year", NAMEOF(DateTable[Year]), 4)
}

I added it in the sheet as a slicer, where people can select the kind of "date aggregation" they want. I want to set monthly as default when a button is clicked. I am planning to do the same as well for another parameter containing text fields. Do you think this is possible?
Anonymous
Not applicable

Hi lbendlin ,thanks for the quick reply, I'll add more.

Hi @PatrickGreen ,

If I understand correctly, when the slicer selects "Month", create a bookmark. Then insert a button and bind the button to the previous bookmark. For details, please refer to the following article

Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn

 

Best Regards,
Wenbin Zhou

Hi @Anonymous ! Thanks! This could work like a filter view for me.

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.