Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a SSRS report that I am trying to recreate in Power BI. The SSRS report gets the dataset via a SQL query which I am able to get the data into Power BI via the same query. But I also have a hard coded VBA script in the SSRS report to add a multi-colored layer to the existing dataset so the visualization includes all the elements for the report. I know Power BI doesn't have any support for a VBA script and I need to convert the existing VBA script to a DAX or a M query. Can someone let me know if there is a way to do this. I need to convert the existing VBA script to a query thst Power BI supports.
Thanks
Sridhar
Hi @Anonymous,
Per my research, there is no direct way to convert VBA script to DAX or Power Query. Also, comparing with VBA script in SSRS, DAX/M query works in different way in desktop.
In your scenario, I would suggest you post sample data and desired result so that we can test to see if it is achievable in Power BI report.
Regards,
Yuliana Gu
@v-yulgu-msft@Greg_Deckler I uploaded a sample file and the VBA script to the link below.
https://1drv.ms/f/s!AkUUe-6V4o1UhAzWoPA031rDVW04
The desired output is something like this
with the color code with the VBA script like below.
I could only plot the data in power BI with a Gantt chart and the output is like below and need some code to formulate the multi-colored VBA script
Thanks
Sridhar
Hi @Anonymous,
Per my knowledge, I'm afraid this is not achieveable in Power BI now.
Regards,
Yuliana Gu
I would start by posting the VBA script here or explain what it is doing. I am not aware of an automated "VBA->DAX" converter. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |