<?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 Re: New Shapes in PBI - How to Setup JSON? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/3058219#M28693</link>
    <description>&lt;P&gt;Hi Axel Et al,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The element name for 'new' shapes (new from April 2021) is now just "shape" instead of "basicShape". Curiously, it also shares a similar structure with actionButton (you have to declare the default state for the shape).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a recently updated Git Repo which has some useful info these new shapes:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json" target="_blank"&gt;https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the below json, hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "name": "ShapeFillAndOutline",
  "visualStyles": {
    "shape": {
      "*": {
        "background": [
          {
            "show": false
          }
        ],
        "fill": [
          {
            "show": true
          },
          {
            "$id": "default",
            "transparency": 0,
            "fillColor": {
              "solid": {
                "color": "#FFFFFF"
              }
            }
          },
          {
            "$id": "hover",
            "transparency": 0,
            "fillColor": {
              "solid": {
                "color": "#000000"
              }
            }
          }
        ],
        "outline": [
          {
            "show": true
          },
          {
            "$id": "default",
            "transparency": 0,
            "lineColor": {
              "solid": {
                "color": "#000000"
              }
            }
          }
        ],
        "visualHeader": [
          {
            "show": false
          }
        ]
      }
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 11:04:37 GMT</pubDate>
    <dc:creator>joshuakellyrha</dc:creator>
    <dc:date>2023-02-08T11:04:37Z</dc:date>
    <item>
      <title>New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186#M19577</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;with the may 2021 release of PBIRS we also got the new shapes feature with desktop which was released to the regular desktop in april 2021 (&lt;A href="https://powerbi.microsoft.com/de-de/blog/power-bi-april-2021-feature-summary/#post-14480-_Toc68689097" target="_blank" rel="noopener"&gt;https://powerbi.microsoft.com/de-de/blog/power-bi-april-2021-feature-summary/#post-14480-_Toc68689097&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately after converting existing shapes my settings in my custom json don't work properly anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any updated documentation to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This (&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-file-format" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-file-format&lt;/A&gt;) does not help at all...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 08:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186#M19577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T08:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1884773#M19611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please try to change the color for the shapes manually?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 08:25:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1884773#M19611</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-06-07T08:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1889889#M19654</link>
      <description>&lt;P&gt;Hi Dedmon,&lt;/P&gt;&lt;P&gt;this works after converting the shape. But that's not the point. This is my current JSON (partly):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"basicShape": {
			"*": {
				"background": [{
					"show": false,
                    "color": { "solid": { "color": "#ffffff" } },
                    "transparency": 20
                }],
				"line": [{
					"lineColor": { "solid": { "color": "#323232"}},
					"transparency": 0,
					"weight": 3,
					"roundEdge": 0
				}],
				"fill": [{
					"show": false,
					"fillColor": { "solid": { "color": "#ffffff"}},
					"transparency": 100
				}],
				"title": [{
					"show": false,
				    "fontColor": { "solid": { "color": "#323232" } },
				    "background": { "solid": { "color": "#ffffff" } },
				    "alignment": "Left",
				    "fontSize": 11,
				    "fontFamily": "Segoe UI Light"
				}],
				"rotation": [{
					"angle": 0
				}],
				"visualHeader": [{
					"show": false
				}],
				"border":[{
					"show":true,
					"color": { "solid": { "color":"#CCCCCC" } },
					"radius": 5
				}]
			}
		}&lt;/LI-CODE&gt;&lt;P&gt;Now the code from above does not have any affect. I guess with the new shapes something else needs to change...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 07:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1889889#M19654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-09T07:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1890175#M19656</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that something wrong with the custom shape by json file. I tried it also in the latest verison of power bi desktop cloud version, it didn't work also.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 08:52:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1890175#M19656</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-06-09T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1892319#M19664</link>
      <description>&lt;P&gt;Hi Dedmon,&lt;/P&gt;&lt;P&gt;my version is an extended version of this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json" target="_blank"&gt;https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"name": "ShapeTemplate",
	"visualStyles": {
		"basicShape": {
			"*": {
				"line": [{
					"lineColor": { "solid": { "color": "#01B8AA"}},
					"transparency": 0,
					"weight": 3,
					"roundEdge": 0
				}],
				"fill": [{
					"show": true,
					"fillColor": { "solid": { "color": "#DDDDDD"}},
					"transparency": 0
				}],
				"rotation": [{
					"angle": 0
				}],
				"visualHeader": [{
					"show": false
				}]
			}
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;Of course, my code was only a part of a much larger JSON file... I assumed you would anticipate that. Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway: If we focus on the fill attribute the new shapes do not recognize the setting given in the JSON file. So my question is: were there any fundamental changes to how to setup the JSON file regarding the new shapes and if so, where is the documentation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 04:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1892319#M19664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-10T04:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1892392#M19665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I test it with the code provide in github yesterday, it didn't work even in the latest version of power bi desktop cloud version. Unfortunately, I didn't find any document that talking about setting up json for the new shape. I suggest you raise a support ticket for it.&amp;nbsp;Go to&amp;nbsp;&lt;A href="https://support.powerbi.com/" target="_blank"&gt;https://support.powerbi.com&lt;/A&gt;. Scroll down and click "CREATE SUPPORT TICKET".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 05:23:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1892392#M19665</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-06-10T05:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/2703265#M25243</link>
      <description>&lt;P&gt;I had the same problem and created an issue here. Feel free to upvote it:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Issues/Fix-shape-formatting-in-theme-json/idi-p/2703262#M83689" target="_blank"&gt;(1) Fix shape formatting in theme json - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:22:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/2703265#M25243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-16T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/3058219#M28693</link>
      <description>&lt;P&gt;Hi Axel Et al,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The element name for 'new' shapes (new from April 2021) is now just "shape" instead of "basicShape". Curiously, it also shares a similar structure with actionButton (you have to declare the default state for the shape).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a recently updated Git Repo which has some useful info these new shapes:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json" target="_blank"&gt;https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the below json, hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "name": "ShapeFillAndOutline",
  "visualStyles": {
    "shape": {
      "*": {
        "background": [
          {
            "show": false
          }
        ],
        "fill": [
          {
            "show": true
          },
          {
            "$id": "default",
            "transparency": 0,
            "fillColor": {
              "solid": {
                "color": "#FFFFFF"
              }
            }
          },
          {
            "$id": "hover",
            "transparency": 0,
            "fillColor": {
              "solid": {
                "color": "#000000"
              }
            }
          }
        ],
        "outline": [
          {
            "show": true
          },
          {
            "$id": "default",
            "transparency": 0,
            "lineColor": {
              "solid": {
                "color": "#000000"
              }
            }
          }
        ],
        "visualHeader": [
          {
            "show": false
          }
        ]
      }
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 11:04:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/3058219#M28693</guid>
      <dc:creator>joshuakellyrha</dc:creator>
      <dc:date>2023-02-08T11:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: New Shapes in PBI - How to Setup JSON?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/3225306#M29694</link>
      <description>&lt;P&gt;Hello Joshua,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. In fact, this helped me apply the settings to the shapes as I wanted.&lt;/P&gt;&lt;P&gt;However, I would like to apply different settings for different shaps (lines, rectangles, oval, etc.).&lt;/P&gt;&lt;P&gt;Do you know if there is any way to define it? Our is there no possibility to select the type of shape that I want to apply settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 16:10:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/3225306#M29694</guid>
      <dc:creator>bernardoamaral</dc:creator>
      <dc:date>2023-05-08T16:10:17Z</dc:date>
    </item>
  </channel>
</rss>

