<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Push Datasets - double quotes in JSON Values in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Push-Datasets-double-quotes-in-JSON-Values/m-p/1147404#M24063</link>
    <description>&lt;P&gt;Hello - I'm using the PostDataset from the Reset API to create a dataset in PBI service. I'm trying to create a calculated field which contains double quotes. However it's not working because the double quotes are being interpated as the end of the value. Below is an alterved version of the request body i'm using, where the red highlight is where i'm running into an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"name": "DatasetNew",&lt;BR /&gt;"tables": [&lt;BR /&gt;{&lt;BR /&gt;"name": "TableA",&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;"measures": [&lt;BR /&gt;{&lt;BR /&gt;"name":"Avail",&lt;BR /&gt;"expression": "SWITCH(TRUE(),VALUES('SWITCH Table'[Dataset]) = &lt;FONT color="#FF0000"&gt;"Day"&lt;/FONT&gt;, [DaysSum],v0 )"&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 18:02:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-08T18:02:13Z</dc:date>
    <item>
      <title>Push Datasets - double quotes in JSON Values</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-Datasets-double-quotes-in-JSON-Values/m-p/1147404#M24063</link>
      <description>&lt;P&gt;Hello - I'm using the PostDataset from the Reset API to create a dataset in PBI service. I'm trying to create a calculated field which contains double quotes. However it's not working because the double quotes are being interpated as the end of the value. Below is an alterved version of the request body i'm using, where the red highlight is where i'm running into an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"name": "DatasetNew",&lt;BR /&gt;"tables": [&lt;BR /&gt;{&lt;BR /&gt;"name": "TableA",&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;"measures": [&lt;BR /&gt;{&lt;BR /&gt;"name":"Avail",&lt;BR /&gt;"expression": "SWITCH(TRUE(),VALUES('SWITCH Table'[Dataset]) = &lt;FONT color="#FF0000"&gt;"Day"&lt;/FONT&gt;, [DaysSum],v0 )"&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 18:02:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-Datasets-double-quotes-in-JSON-Values/m-p/1147404#M24063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-08T18:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Push Datasets - double quotes in JSON Values</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-Datasets-double-quotes-in-JSON-Values/m-p/1147654#M24064</link>
      <description>&lt;P&gt;have you tried backslash escaping? \"Day\"&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 22:20:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-Datasets-double-quotes-in-JSON-Values/m-p/1147654#M24064</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-06-08T22:20:59Z</dc:date>
    </item>
  </channel>
</rss>

