The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Hi @Anonymous ,
What result do you get according to your formula?
Best Regards,
Community Support Team _ kalyj
I am getting 7 Days ahead and 3 Days Back. Request is to create two check boxes with the above as choices
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |