Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

What's the recommended way to develop push datasets?

I'm talking about the "rich" kind with multiple tables, measures, relationships.

 

I ask because that's what I'm working on, and it's slow-going.

 

I started by noticing that the JSON for these looks basically like SSAS tabular bim files. So I first made a tabular model with the tables/relationships/measures/datatypes/stringformatting I wanted, and tried to copy/paste into a C#-driven push dataset.

 

So now I'm manually picking through the JSON bits, taking out the ones that won't successfully POST (annotations, for example don't seem to translate from tabular to push datasets).

 

This process seems wildly inefficient. Is there a better way to develop rich data modelling push datasets?

 

 

2 Replies

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi Anonymous,

     

    What's your data source? I would suggest you code some scripts to get data and to format as JSON. I think almost all the work can run automatically. 

     

    Best Regards,

    Dale

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Dale - thanks for the reply.

       

      My data source is SQL Server.

       

      Can you expand on your "code some scripts" suggestion?

       

      Right now I'm basically following this example, because I couldn't find any others that do the same thing:

       

      https://github.com/CriticalPathTraining/HitchhikersGuide/tree/master/StreamingDatasetsDemo/StreamingDatasetsDemo

       

      If you look though the solution files there, you'll see that this structure requires that I come up with the JSON (that looks like an ssas tabular bim file).

       

      I'm more than open to another development approach that results in this!