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 September 15. Request your voucher.
Hi team,
We have 4 DW environments, Dev, Test, UAT & Prod and I have a Data Quality report and can change data source between the 4 environments to look for issues. Is there is a way to show on the report, which data source I have connected to without going to Data Source Settings? I would prefer an obvious visual indicator that would just parse the name of the data source to a powerbi visual. Alternately is there a way to use colours to demonstrate which data source a report is using e.g. a red banner for DEV, green for PROD etc.
With thanks,
Tim
Solved! Go to Solution.
HI @todea,
Power query not support to show the original database information.
For your scenario, I'd like to suggest you to modify your formula to use query parameter to get data. Then use these parameter to create a table to log the data source information.
For example:
let Source = Sql.Databases(Server){[Name=Database]}[Data] in Source
Notice: Server and Database are query parameters.
Sourceinfo Table:
let Source = #table( type table[ #"Server"=text, #"Database"=text ], {{Server,Database}}) in Source
Reference:
Working with Parameters and Functions in Power Query/Excel and Power BI
Deep Dive into Query Parameters and Power BI Templates
Regards,
Xiaoxin Sheng
HI @todea,
Power query not support to show the original database information.
For your scenario, I'd like to suggest you to modify your formula to use query parameter to get data. Then use these parameter to create a table to log the data source information.
For example:
let Source = Sql.Databases(Server){[Name=Database]}[Data] in Source
Notice: Server and Database are query parameters.
Sourceinfo Table:
let Source = #table( type table[ #"Server"=text, #"Database"=text ], {{Server,Database}}) in Source
Reference:
Working with Parameters and Functions in Power Query/Excel and Power BI
Deep Dive into Query Parameters and Power BI Templates
Regards,
Xiaoxin Sheng
Hi @Anonymous thanks very much for your advice and forgive my slow reply. It is beyond my ability so i will seek some help from a colleague. Many thanks for takign the time to respond, thanks so much
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
62 | |
54 | |
43 |