Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
I am using Visual Studio to develop a Tabular model in combination with MS SQL/SSAS, so far everything worked fine, or I came up with a workaround, but this time I am stuck and need your help. Previously I have been modeling in Power BI Desktop and there everything is working, but as you know models cannot be changed in PBI anymore if you get them via SSAS.
The issue is that I do not have the option to format a measure as Data Category WebUrl in VS. Usually I would have used a calculated column, but in this case it is not possible. The overall goal is to only display URL on a certain level of a matrix visual, to accomplish that I use INSCOPE, but this does not work with a calc col.
The only workaround I found so far is using Tabular Editor to connect to SSAS after the model got deployed and change the Data Category there. This works fine in the dev environment but not on test and prod as I do not have the permission there, and instead someone else does the deployment.
Does anyone know how to get the Data Category set in VS for a measure?
I would absolutely appreciate your help on this topic.
Solved! Go to Solution.
Based on my research, there is no straightforward way to change the Data category of a measure to a Web URL, the usual practice is to create custom columns. You mentioned that you can set it up and deploy it in the Tabular Editor, and if possible, try to request permission to make the necessary changes in both test and prod environments. Or work with a colleague who has access to set up and deploy using Tabular Editor.
Add hyperlinks (URLs) to a table or matrix - Power BI | Microsoft Learn
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-xianjtan-msft the section "Format link text as a hyperlink" did the trick. I had to change the Measure to be just a little peace of text instead of an url but it works great.
Matrix_URL:=
IF(
ISINSCOPE(WEB[Name]),
"URL",
BLANK()
)
Based on my research, there is no straightforward way to change the Data category of a measure to a Web URL, the usual practice is to create custom columns. You mentioned that you can set it up and deploy it in the Tabular Editor, and if possible, try to request permission to make the necessary changes in both test and prod environments. Or work with a colleague who has access to set up and deploy using Tabular Editor.
Add hyperlinks (URLs) to a table or matrix - Power BI | Microsoft Learn
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |