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.
Is it possible to add an extra parameters for a certain expression? If paramer a = 10 then show parametr b, else no parameter b
for instance if I have a userid like '%company.com' then I have extra parameter to select department (this is for managment), but if someone from the department logs in ''%company.hr.com, he already sees his data (this I have and it works).
You can't show and hide parameters dynamically in Report Builder. But you can use expressions and/or queries in the allowed values and default value for the parameter. So you could simply default the allowed values to a single deparment and set that as the default for the "hr" deparment example, but then have the allowed values return more values for other users (usually I'd have this based off some sort of user to department mapping tables)