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.
Hi,
It would be helful if anyone can share some information about how to add RLS roles in to a dataset file published in service using TOM. (Without opening the dataset file in Power BI desktop)
Basically I am looking for code to create RLS roles using TOM.
Please help!
Hey @Sreepriya ,
if you have Premium you can use the XMLA endpoint:
Dataset connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft Learn
Hopefully, this provides an idea of how to tackle your challenge.
Regards,
Tom