<?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: Deneb Matrix Visual - Working but with Warnings in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605798#M12289</link>
    <description>&lt;P&gt;You're too kind! I get pretty giddy each time I see someone using Deneb to solve a challenge &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These properties have &lt;A href="https://vega.github.io/vega/docs/expressions/" target="_self"&gt;expression&lt;/A&gt; support, so you could calculate the x-axis's bandwidth and offset by half of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd need to see any revised code (and possibly get a sample of data to set up and try to confirm 100%, as it depends on where you're using &lt;FONT face="courier new,courier"&gt;xOffset&lt;/FONT&gt;, etc., in your spec (whether via mark properties or encoding channels).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using via mark properties, something like the following could be a starting point which should offset by a quarter of the derived bandwidth in each direction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// Assuming you want to go left (negative)
"xOffset": {
  "expr": "-bandwidth('x') * 0.25"
}

// Assuming you want to go right (positive)
"x2Offset": {
  "expr": "bandwidth('x') * 0.25"
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoepfully that may get you on the right path, but if you're still stuck then any contextual info like a revised spec and sample data would be a great help to get you where you need to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 21:26:32 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2025-03-11T21:26:32Z</dc:date>
    <item>
      <title>Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4604177#M12274</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am brand new to using Deneb, but with the help of copilot and some edits, I was able to produce the visual I needed, a matrix with banded rows, a total row that is bolded, red text for negatives in change columns, black for category columns (2024 Act, 2025 PL, etc.), and 5 change buckets with a header of 'Cost' with a outline around and 'Cost' shaded blue with white font.&amp;nbsp; The visual is responsive and seems to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue...&amp;nbsp; There are multiple warnings including using bandPosition values of less than 0 and greater than 1, to position some strokes and shading at the precise location I want.&amp;nbsp; I also have a warning saying that the "field" property isn't allowed in my "x2" sections.&amp;nbsp; I'm getting the result I desire, but I'm afraid the visual may break in future updates of vega-lite.&amp;nbsp; I am providing the code as well as a sample screenshot of the output.&amp;nbsp; I've made the output use multiple RAND() DAX functions, so if you see weird values, including the Total line not tying, that's why.&amp;nbsp; Data and the total are working fine when not randomizing the numbers.&amp;nbsp; Could someone please help me fix the warnings?&amp;nbsp; Also, if there are more efficient ways to do what my example picture shows, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Deneb Matrix Example.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1248793i16CBF3A44DD278D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Deneb Matrix Example.png" alt="Deneb Matrix Example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the vega-lite coding.&amp;nbsp; I've put&amp;nbsp;//WARNING: at the end of the code lines that have a warning, followed by what the warning says.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "data": {"name": "dataset"},
  "transform": [
    {
      "calculate": "(datum.Quarter === '1Q' || datum.Quarter === '3Q') ? 'lightgrey' : 'white'",
      "as": "RowColor"
    },
    {
      "calculate": "isNumber(datum['MBR PVC']) &amp;amp;&amp;amp; datum['MBR PVC'] &amp;lt; 0 &amp;amp;&amp;amp; !(datum.MBRPVCTableSort &amp;lt; 60 || (datum.MBRPVCTableSort &amp;gt;= 69 &amp;amp;&amp;amp; datum.MBRPVCTableSort &amp;lt;= 899)) ? 'red' : (indexof(datum['MBR PVC__formatted'], '-') &amp;gt;= 0 &amp;amp;&amp;amp; !(datum.MBRPVCTableSort &amp;lt; 60 || (datum.MBRPVCTableSort &amp;gt;= 69 &amp;amp;&amp;amp; datum.MBRPVCTableSort &amp;lt;= 899)) ? 'red' : 'black')",
      "as": "TextColor"
    }
  ],
  "encoding": {
    "y": {
      "field": "Quarter",
      "title": null,
      "axis": {
        "ticks": false,
        "labelPadding": 5,
        "labelFontWeight": {
          "condition": {"test": "datum.value === 'Total'", "value": "bold"},
          "value": "normal"
        },
        "labelFontSize": 12
      }
    },
    "x": {
      "field": "MBRPVCTable",
      "title": null,
      "sort": {"field": "MBRPVCTableSort", "order": "ascending"},
      "axis": {
        "orient": "top",
        "labelAngle": 0,
        "ticks": false,
        "labelFontSize": 12
      }
    }
  },
  "layer": [
    {
      "mark": {
        "type": "rect",
        "tooltip": true,
        "opacity": 0.5
      },
      "encoding": {
        "color": {
          "field": "RowColor",
          "type": "nominal",
          "scale": null
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.Quarter !== 'Total'"}
      ],
      "mark": {
        "type": "text",
        "tooltip": true,
        "fontSize": 12
      },
      "encoding": {
        "text": {
          "field": "MBR PVC__formatted"
        },
        "color": {
          "field": "TextColor",
          "type": "nominal",
          "scale": null
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.Quarter === 'Total'"}
      ],
      "mark": {
        "type": "text",
        "tooltip": true,
        "fontSize": 12,
        "fontWeight": "bold"
      },
      "encoding": {
        "text": {
          "field": "MBR PVC__formatted"
        },
        "color": {
          "field": "TextColor",
          "type": "nominal",
          "scale": null
        },
        "y": {"field": "Quarter"},
        "x": {"field": "MBRPVCTable"}
      }
    },
    {
      "transform": [
        {"filter": "datum.Quarter === 'Total'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 2
      },
      "encoding": {
        "y": {
          "field": "Quarter",
          "type": "nominal",
          "aggregate": "min",
          "bandPosition": 0
        },
        "x": {
          "value": 0
        },
        "x2": {
          "value": {"expr": "width"}
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.MBRPVCTable === 'SGA' &amp;amp;&amp;amp; datum.MBRPVCTable2 === 'Cost'"}
      ],
      "layer": [
        {
          "mark": {
            "type": "rect",
            "tooltip": true,
            "color": "#004ABF",
            "opacity": 0.5
          },
          "encoding": {
            "x": {
              "field": "MBRPVCTable",
              "type": "nominal",
              "bandPosition": -2 //WARNING: Value is below the minimum of 0.
            },
            "x2": {
              "field": "MBRPVCTable", //WARNING: Property field is not allowed.
              "type": "nominal",
              "bandPosition": 3 //WARNING: Value is above the maximum of 1.
            },
            "y": {
              "value": -35  // Position the rectangle above the x-axis
            },
            "y2": {
              "value": -16  // Extend the rectangle to the x-axis
            }
          }
        },
        {
          "mark": {
            "type": "text",
            "tooltip": true,
            "fontSize": 12,
            "color": "white",
            "dy": -25
          },
          "encoding": {
            "text": {
              "field": "MBRPVCTable2"
            },
            "x": {
              "field": "MBRPVCTable",
              "type": "nominal"
            },
            "y": {
              "value": 0  // Position the text above the x-axis
            }
          }
        }
      ]
    },
    {
      "transform": [
        {"filter": "datum.MBRPVCTable === 'COR'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": 0
        },
        "y": {
          "value": -35  // Adjust this value to extend the line to the top
        },
        "y2": {
          "value": {"expr": "height"}
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.MBRPVCTable === 'Other'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": 1
        },
        "y": {
          "value": -35  // Adjust this value to extend the line to the top
        },
        "y2": {
          "value": {"expr": "height"}
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.MBRPVCTable === 'COR'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": 0
        },
        "x2": {
          "field": "MBRPVCTable", //WARNING: Property field is not allowed.
          "type": "nominal",
          "bandPosition": 5 //WARNING: Value is above the maximum of 1.
        },
        "y": {
          "value": -35  // Position the top horizontal line
        },
        "y2": {
          "value": -35  // Ensure the line is horizontal
        }
      }
    },
    {
      "transform": [
        {"filter": "datum.MBRPVCTable === 'Other'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": -4 //WARNING: Value is below the minimum of 0.
        },
        "x2": {
          "field": "MBRPVCTable", //WARNING: Property field is not allowed.
          "type": "nominal",
          "bandPosition": 1
        },
        "y": {
          "value": {"expr": "height"}  // Position the bottom horizontal line
        },
        "y2": {
          "value": {"expr": "height"}  // Ensure the line is horizontal
        }
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks ahead of time for your help!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 01:36:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4604177#M12274</guid>
      <dc:creator>BobThon</dc:creator>
      <dc:date>2025-03-11T01:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605684#M12284</link>
      <description>&lt;P&gt;why do you have an x2 when it is the same as x ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 19:35:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605684#M12284</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-11T19:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605696#M12285</link>
      <description>&lt;P&gt;One of the x2 sections is creating a shaded rectangle in color #004ABF where x describes the beginning x position and x2 describes the ending point to draw the rectangle:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;          "mark": {
            "type": "rect",
            "tooltip": true,
            "color": "#004ABF",
            "opacity": 0.5
          },
          "encoding": {
            "x": {
              "field": "MBRPVCTable",
              "type": "nominal",
              "bandPosition": -2 //WARNING: Value is below the minimum of 0.
            },
            "x2": {
              "field": "MBRPVCTable", //WARNING: Property field is not allowed.
              "type": "nominal",
              "bandPosition": 3 //WARNING: Value is above the maximum of 1.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The other x2 sections where I have warnings are creating two different horizontal lines at specific points in the table.&amp;nbsp; The below code section does the horizontal line that shows above 'Cost' in my sample image and "x" is the starting x position whereas "x2" is the ending position for the line/stroke.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      "transform": [
        {"filter": "datum.MBRPVCTable === 'COR'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": 0
        },
        "x2": {
          "field": "MBRPVCTable", //WARNING: Property field is not allowed.
          "type": "nominal",
          "bandPosition": 5 //WARNING: Value is above the maximum of 1.
        },
        "y": {
          "value": -35  // Position the top horizontal line
        },
        "y2": {
          "value": -35  // Ensure the line is horizontal&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below here is the 2nd horizontal line that shows at the bottom of the visual in my sample picture.&lt;/P&gt;&lt;PRE&gt;      "transform": [
        {"filter": "datum.MBRPVCTable === 'Other'"}
      ],
      "mark": {
        "type": "rule",
        "tooltip": true,
        "strokeWidth": 1,
        "color": "black"
      },
      "encoding": {
        "x": {
          "field": "MBRPVCTable",
          "type": "nominal",
          "bandPosition": -4 //WARNING: Value is below the minimum of 0.
        },
        "x2": {
          "field": "MBRPVCTable", //WARNING: Property field is not allowed.
          "type": "nominal",
          "bandPosition": 1
        },
        "y": {
          "value": {"expr": "height"}  // Position the bottom horizontal line
        },
        "y2": {
          "value": {"expr": "height"}  // Ensure the line is horizontal&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I guess the line has the same x for both horizontal lines, I'm just using a different starting point and hence why one has a negative bandPosition of -4 going to 1 whereas the other goes from 0 to 5.&amp;nbsp; Again, I am brand new to Deneb, so the different starting points for the lines comes from Copilot, but it worked so I didn't analyze and question why to not use the same starting x position 'COR'.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 19:47:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605696#M12285</guid>
      <dc:creator>BobThon</dc:creator>
      <dc:date>2025-03-11T19:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605720#M12286</link>
      <description>&lt;P&gt;Adding &lt;FONT face="courier new,courier"&gt;type&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;x2&lt;/FONT&gt; is &lt;A href="https://vega.github.io/vega-lite/docs/encoding.html#positon-offset:~:text=Secondary%20channels%20(e.g.%2C%20x2%2C%20y2%2C%20xError%2C%20yError)%20do%20not%20have%20type%20as%20they%20must%20have%20exactly%20the%20same%20type%20as%20their%20primary%20channels%20(e.g.%2C%20x%2C%20y)." target="_self"&gt;unnecessary and does nothing&lt;/A&gt;, as these share the same scale as x. The &lt;FONT face="courier new,courier"&gt;type&lt;/FONT&gt; in &lt;FONT face="courier new,courier"&gt;x&lt;/FONT&gt; dictates how &lt;FONT face="courier new,courier"&gt;x2&lt;/FONT&gt; is scaled. Remove &lt;FONT face="courier new,courier"&gt;type&lt;/FONT&gt; from the channel and the warning should go away. (EDIT: &lt;A href="https://stackoverflow.com/a/79487765/671980" target="_self"&gt;example of using offset channels on a StackOverflow post&lt;/A&gt; from the other day that may help clarify)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://vega.github.io/vega-lite/docs/bandposition.html" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;bandPosition&lt;/FONT&gt; only spans from 0 to 1&lt;/A&gt; and dictates percentage of the band to use for a mark's position (0.5 being the centre). &lt;A href="https://vega.github.io/vega-lite/docs/encoding.html#positon-offset" target="_self"&gt;Use &lt;FONT face="courier new,courier"&gt;xOffset&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;x2Offset&lt;/FONT&gt;&lt;/A&gt; if you want to adjust by a specific amount relative to encoded position.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 20:21:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605720#M12286</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2025-03-11T20:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605789#M12288</link>
      <description>&lt;P&gt;Thanks so much for responding Daniel and thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;for tagging him!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get rid of the type error by using your solution and also finagle the xOffset and x2Offset to work.&amp;nbsp; My issue now with the Offset solution is if one of the columns goes away in my 'matrix', the shading of blue or the horizontal lines will be too short as the columns change size.&amp;nbsp; When I was using the bandPosition without xOffset, the lines and shading would continue to expand to the correct position.&amp;nbsp; The vertical lines work fine as the bandPosition isn't going outside of the 0-1 bounds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to calculate how many pixels to change the offset if I always want the starting x to be the start of the 'COR' column within MBRPVCTable and the ending x2 to be the end of the 'Other' column within MBRPVCTable like my image above shows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for both of your time!&amp;nbsp; I have to admit I was kind of star struck when I got a reply from the DMP!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 21:14:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605789#M12288</guid>
      <dc:creator>BobThon</dc:creator>
      <dc:date>2025-03-11T21:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605798#M12289</link>
      <description>&lt;P&gt;You're too kind! I get pretty giddy each time I see someone using Deneb to solve a challenge &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These properties have &lt;A href="https://vega.github.io/vega/docs/expressions/" target="_self"&gt;expression&lt;/A&gt; support, so you could calculate the x-axis's bandwidth and offset by half of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd need to see any revised code (and possibly get a sample of data to set up and try to confirm 100%, as it depends on where you're using &lt;FONT face="courier new,courier"&gt;xOffset&lt;/FONT&gt;, etc., in your spec (whether via mark properties or encoding channels).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using via mark properties, something like the following could be a starting point which should offset by a quarter of the derived bandwidth in each direction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// Assuming you want to go left (negative)
"xOffset": {
  "expr": "-bandwidth('x') * 0.25"
}

// Assuming you want to go right (positive)
"x2Offset": {
  "expr": "bandwidth('x') * 0.25"
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoepfully that may get you on the right path, but if you're still stuck then any contextual info like a revised spec and sample data would be a great help to get you where you need to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 21:26:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4605798#M12289</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2025-03-11T21:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb Matrix Visual - Working but with Warnings</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4610746#M12308</link>
      <description>&lt;P&gt;Thanks for all of the help Daniel.&amp;nbsp; Sorry for the lateness in my reply.&amp;nbsp; My initial attempts were unsuccessful and several work priorities have kept me away.&amp;nbsp; I will mark your original post as the solution for my question but will eventually post a sample workbook for my latest question to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 18:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Matrix-Visual-Working-but-with-Warnings/m-p/4610746#M12308</guid>
      <dc:creator>BobThon</dc:creator>
      <dc:date>2025-03-14T18:35:33Z</dc:date>
    </item>
  </channel>
</rss>

