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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

check box parameter in paginated report

I have this query that i need to create a checkbox parameter based on it  in a report builder

Basically customer wants two checkboxes:

1 checkbox showing 7 Days ahead and the other one showing a 3 Days Back, customer does not want radio buttons.

if((Date.From([ACT_START_DATE]) <>"" ) and (Date.From([ACT_END_DATE]) = "") or
(Date.From([START_DATE]) <= Date.AddDays(Date.From(DateTime.LocalNow()),-1))) then "3 Days Back" else if (Date.From([FINISH_DATE]) >= Date.AddDays(Date.From(DateTime.LocalNow()),7)) then "7 Days ahead" else null)

any help on this or suggestions on how to solve it will be very much appreciated.

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

What result do you get according to your formula?

 

Best Regards,
Community Support Team _ kalyj

Anonymous
Not applicable

I am getting  7 Days ahead and  3 Days Back. Request is to create two check boxes with the above as choices

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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