The TMVGate Post MDX request provides a flexible TM1 data extraction using MDX statement instead of a cube view definition. POST MDX request is required to support the “Virtual Hierarchy” introduced in Planning Analytics 2.0 and above.
Power BI does not provide an interface to specify Web Post requests. However, this can be achieved using the Advance Editor. Refer to the respective sections for JSON, PSV, and TXT output format.


The following is an example of an MDX query:


For TMVGate JSON output, an example of the Power BI Script is shown below
The yellow highlighted contents are the MDX query statement and the TMVGate URL

Note that for MDX query statement that contains double quote (i.e. “), you will need to encode it with an additional double quote for Power BI to interpret it correctly

For the TMVGate PSV output, an example of the Power BI Script is shown below
The yellow highlighted contents are the MDX query statement and the TMVGate URL

For the TMVGate TXT output, an example of the Power BI Script is shown below
The yellow highlighted contents are the MDX statements and the TMVGate URL



The other steps are the same as in Power BI
Once the data is loaded into Power Query, it will be displayed as a table, and you can start creating reports or visualization using either Power View or Power Pivot



The other steps are the same as with Power BI
Once the data are loaded into Power Query, it will be displayed as a table, and you can start creating reports or visualization using either Power View or Power Pivot.


The other steps are the same as with Power BI
Once the data are loaded into Power Query, it will be displayed as a table, and you can start creating reports or visualization using either Power View or Power Pivot