<?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: How to display objects in a grouping in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3659907#M32585</link>
    <description>&lt;P&gt;I understand, I expected that. However, I have no idea how to do this with custom code, I searched the Microsoft documentation and didn't find anything related. I would be grateful if you could help me find a code example.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 10:35:41 GMT</pubDate>
    <dc:creator>RobertRR</dc:creator>
    <dc:date>2024-01-25T10:35:41Z</dc:date>
    <item>
      <title>How to display objects in a grouping</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3657635#M32559</link>
      <description>&lt;P&gt;I would like to know if there is any way to display the query values for an external data source in object format and not in plain text with the concatenated values. To do this, I need to create a grouping in a matrix displaying the grids horizontally.&lt;/P&gt;&lt;P&gt;Here is an example grid displaying each record returned from the query, one grid next to the other:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now I am using the Join and Lookup Set function to fetch the query data from another dataset. I'm using the exact same grouping function on the expression in the text field you can see selected in the report:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The result is this, the grouping did not result in anything, just the expression in the text field that resulted in the concatenated values. But I don't want that, I want to create new objects for each record found. Does anyone have any ideas on how to do this, would custom code be required? Grids displaying correctly on first print is only possible because they are in the same dataset.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 16:29:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3657635#M32559</guid>
      <dc:creator>RobertRR</dc:creator>
      <dc:date>2024-01-24T16:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to display objects in a grouping</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3659242#M32581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="676144" data-lia-user-login="RobertRR" class="lia-mention lia-mention-user"&gt;RobertRR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You want to display the query value of the external data source in object format, not in plain text with the join value. This may require custom code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 07:36:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3659242#M32581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-25T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to display objects in a grouping</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3659907#M32585</link>
      <description>&lt;P&gt;I understand, I expected that. However, I have no idea how to do this with custom code, I searched the Microsoft documentation and didn't find anything related. I would be grateful if you could help me find a code example.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 10:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3659907#M32585</guid>
      <dc:creator>RobertRR</dc:creator>
      <dc:date>2024-01-25T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display objects in a grouping</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3665093#M32607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="676144" data-lia-user-login="RobertRR" class="lia-mention lia-mention-user"&gt;RobertRR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here is the sample:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Public Function GetUsers(ByVal param As Integer) As String
    Dim sqlCon As New System.Data.SqlClient.SqlConnection
    Dim cmd As New System.Data.SqlClient.SqlCommand
    Dim dRet As String
    Dim sCmdText As String

    sqlCon.ConnectionString = "data source=MYSERVER;initial catalog=MYDB;Integrated Security=true"

    cmd = New System.Data.SqlClient.SqlCommand
    sCmdText = "SELECT dbo.udf_MyFunction(" 
    'cmd.CommandType = CommandType.Text
    cmd.Connection = sqlCon
    cmd.CommandTimeout = 0

    sCmdText = sCmdText &amp;amp; param
    sCmdText = sCmdText &amp;amp; ")"

    cmd.CommandText = sCmdText
    If sqlCon.State &amp;lt;&amp;gt; System.Data.ConnectionState.Open Then
    sqlCon.Open()
    End If
    dRet = cmd.ExecuteScalar() &amp;amp; ""     
    sqlCon.Close()

    Return dRet

End Function&lt;/LI-CODE&gt;
&lt;P&gt;Below is the official link will help you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-design/custom-code-and-assembly-references-in-expressions-in-report-designer-ssrs?view=sql-server-ver16#RB3" target="_blank"&gt;Custom code and assembly references in expressions in a paginated report in Report Designer - Microsoft Report Builder &amp;amp; Power BI Report Builder | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 01:27:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-objects-in-a-grouping/m-p/3665093#M32607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-29T01:27:38Z</dc:date>
    </item>
  </channel>
</rss>

