<?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 SQL dashboard report: Select table column dynamically in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10752#M5851</link>
    <description>&lt;P&gt;I am using SQL Dashboard report, there are around 400 columns in a table, I want to display some of the columns based on data, not all 400 columns should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: a table have column named c1, c2,c3,c4 and rows r1, r2, r3, r4. The report should show columns as per the below scenario,&lt;/P&gt;&lt;P&gt;case 1: for row r1, the report should dynamically show c1 and c2.&lt;/P&gt;&lt;P&gt;case 2: for row r2, the report should dynamically show c3 and c4.&lt;/P&gt;&lt;P&gt;case 3: for row r3, the report should dynamically show c1 and c4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: consider the report is showing only one row for now.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 21:13:47 GMT</pubDate>
    <dc:creator>pawank9</dc:creator>
    <dc:date>2023-01-24T21:13:47Z</dc:date>
    <item>
      <title>SQL dashboard report: Select table column dynamically</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10752#M5851</link>
      <description>&lt;P&gt;I am using SQL Dashboard report, there are around 400 columns in a table, I want to display some of the columns based on data, not all 400 columns should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: a table have column named c1, c2,c3,c4 and rows r1, r2, r3, r4. The report should show columns as per the below scenario,&lt;/P&gt;&lt;P&gt;case 1: for row r1, the report should dynamically show c1 and c2.&lt;/P&gt;&lt;P&gt;case 2: for row r2, the report should dynamically show c3 and c4.&lt;/P&gt;&lt;P&gt;case 3: for row r3, the report should dynamically show c1 and c4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: consider the report is showing only one row for now.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 21:13:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10752#M5851</guid>
      <dc:creator>pawank9</dc:creator>
      <dc:date>2023-01-24T21:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL dashboard report: Select table column dynamically</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10753#M5852</link>
      <description>&lt;P&gt;You can build own logic using query parameters, and/or just select required columns based on case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/805i19C87074E1B6E6EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 10:05:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10753#M5852</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-25T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL dashboard report: Select table column dynamically</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10754#M5853</link>
      <description>&lt;P&gt;Hi, thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is to select columns dynamically not the query param.&lt;/P&gt;&lt;P&gt;I need to select columns based on data. hope the below example provides clarity:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: a table have column named c1, c2,c3,c4 and rows r1, r2, r3, r4. The report should show columns as per the below scenario,&lt;/P&gt;&lt;P&gt;case 1: for row r1, the report should dynamically show c1 and c2.&lt;/P&gt;&lt;P&gt;case 2: for row r2, the report should dynamically show c3 and c4.&lt;/P&gt;&lt;P&gt;case 3: for row r3, the report should dynamically show c1 and c4.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:43:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-dashboard-report-select-table-column-dynamically/m-p/10754#M5853</guid>
      <dc:creator>pawank9</dc:creator>
      <dc:date>2023-01-25T15:43:06Z</dc:date>
    </item>
  </channel>
</rss>

