on 2018 Aug 23 1:26 PM
Hi All,
I am working first time on the XSA and HDI containers. I am following below link for the developments.
https://blogs.sap.com/2017/12/18/consume-calculation-views-from-xs-advanced-via-information-access/
In HANA WebIde; I have created one Project, under that I have one HANA Database Module. In HANA Database module under the src folder; I have created one table using this table I have created one calculation view. For this calculation view; I have created one role. In role I have given the object privileges on the calculation view and table plus schema privileges. I assigned this role to one of the DB user. Using this DB user I am connecting to the HANA system from Tableau. In Tableau I am able to see the calculation view under the schema but I am not able to view the meta data and data of the calculation view. But I am able to see the metadata and data from the tables used in the calculation view.
Please could you suggest what steps I am missing in my developments or authorizations because of which I am not able to see the meta data and data of the calculation view in Tableau? Could you suggest any step by step blog on how to do this or any video tutorial on this topic explaining end to end scenario and steps.
Thanks in advance.
Thanks.
Best Regards,
Vivek.
Request clarification before answering.
I created a case with Tableau and got the following solution which works for me:
a.
Close all instances of Tableau Desktop
b. Download and save the attached "SAP_HANA _import_hidden.tdc"
file in the My Tableau Repository > Datasources folder
c. Launch Tableau Desktop and connect to a calculation view
I have attached the SAP_HANA _import_hidden.tdc file to the post, only renamed as .txt (as this was required in order to select it for attachment). Just rename it back to .tdc and put it in the folder:
Hope it works for you guys as well.
/Erik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Erik,
I'm running into the exact same issue in Tableau Desktop 2018.1 (Windows) and Power BI. I tried to follow your instructions and placed the file user the My Tableau Repository\Datasources\2018.1 folder, however it's not behaving any differently. Do you know if your Tableau case mentioned it must be 2018.2 to work?
EDIT: Just tried 2018.2 on a different machine (Macbook), I still cannot get any metadata back. I see the Calculation Views but there are no fields available.
EDIT #2: Another update: I tried 2018.2 on a Windows machine and the .tdc file worked! I guess since the Mac Tableau HANA driver is JDBC based, that the .tdc had no effect. I also guess that Tableau must be 2018.2 since 2018.1 did not work for me.
EDIT #3: Final update? 🙂 - I went back and tried again on 2018.1, and I realized I was putting the .tdc file in the 2018.1 sub-folder rather than just under Datasources. It also now works in 2018.1.
Thanks so much for sharing the .tdc file. Googling this issue really only leads to your post and nothing else helpful. Nothing on SAP or Tableau's site yet in the form of a KB on this issue. I would have just assumed it was impossible had it not been for your post. Thanks again!
HI Erik,
Thanks for posting those guidelines. Saving TDC file opened up the fields, however it is only showing column names. However our users are interested in knowing/ seeing business friendly names/ description. Is there a way by which we could expose the Comment/ Description/ Label instead of field names/ technical names?
Is there a setting we could from HANA that would enable one field vs another for external access (BO, AO, Tableau, etc as against HANA studio where we could see both).
Thanks in advance.
Hi Eric,
Thanks for solution. Your solution work for the Tableau Desktop version, but we are using Tableau server and we cannot do this work around on the server. It will be very helpful if you are able to provide some information or SAP Note which explain this issue and how to resolve on Tableau server or is there any patch release from SAP for Tableau server.
Thanks.
Best Regards,
Vivek.
Hi Vivek,
Actually, we did the same "trick" with the file on our Tableau server and that seems to work for us. If it doesn't work for you - I would recommend raising a ticked with the Tableau support.
Best regards,
Erik
Hi Erik,
I am facing similar kind of problem, we have SAP HANA CDS View as data source and when we tried to connect it through tableau desktop it only show Schema and Table option but we did not able to find where is CDS View or how to connect it. Do we are missing any thing in Tableau or HANA configuration ? If you know any thing please let me know.
Thanks !
Sachin
User | Count |
---|---|
61 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.