<?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 combined first name and last name in DAX in semantic model in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795427#M183531</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1082687" data-lia-user-login="krishna_murthy" class="lia-mention lia-mention-user"&gt;krishna_murthy&lt;/a&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Quick Solution for Combining Names - DAX &amp;amp; Power Query&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey there! Here are both approaches I use for combining first and last names:&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;DAX Solution (In Semantic Model)&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Step 1: Add Calculated Column&lt;/STRONG&gt; Go to your table in the semantic model and create a new calculated column:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Full Name = [FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Step 2: Handle Blank Values (Recommended)&lt;/STRONG&gt; If you have missing data, use this instead:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Full Name = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;IF(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;ISBLANK([FirstName]) || ISBLANK([LastName]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;COALESCE([FirstName], "") &amp;amp; COALESCE([LastName], ""),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;[FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Implementation:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Right-click your table → New Column&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Paste the formula and hit Enter&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Rename if needed&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Power Query Solution (Data Transformation)&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 1: Using Merge Columns&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Select both FirstName and LastName columns&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Go to Transform tab → Merge Columns&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Choose "Space" as separator&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Name the new column "Full Name"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 2: Custom Column Approach&lt;/STRONG&gt; Add a custom column with this M formula:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;= [FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 3: Handle Nulls in Power Query&lt;/STRONG&gt; For better null handling:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;= Text.Combine({[FirstName], [LastName]}, " ")&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;The Power Query approach is usually my go-to since it keeps the model cleaner and processes faster during refresh!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Fixed? ✓ Mark it • Share it • Help others!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Best Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;EM&gt;Jainesh Poojara | Power BI Developer&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2025 08:37:12 GMT</pubDate>
    <dc:creator>jaineshp</dc:creator>
    <dc:date>2025-08-13T08:37:12Z</dc:date>
    <item>
      <title>how to combined first name and last name in DAX in semantic model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795340#M183525</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just checking how we can achieve on&amp;nbsp;how to combined &lt;STRONG&gt;first name&lt;/STRONG&gt; and &lt;STRONG&gt;last name&lt;/STRONG&gt; in DAX and we have connected in semantic model&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 07:32:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795340#M183525</guid>
      <dc:creator>krishna_murthy</dc:creator>
      <dc:date>2025-08-13T07:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to combined first name and last name in DAX in semantic model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795348#M183527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1082687" data-lia-user-login="krishna_murthy" class="lia-mention lia-mention-user"&gt;krishna_murthy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can edit the semantic model (best for slicers/labels): add a calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Full Name =
VAR s =
    TRIM( COALESCE('Customers'[FirstName], "") &amp;amp; " " &amp;amp; COALESCE('Customers'[LastName], "") )
RETURN IF( s = "", BLANK(), s )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you’re on a thin report (live connection) and can’t add columns: you can only add a measure (works in cards/tables, not slicers/axes).&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Full Name (measure) =
VAR f = SELECTEDVALUE('Customers'[FirstName])
VAR l = SELECTEDVALUE('Customers'[LastName])
VAR s = TRIM( COALESCE(f, "") &amp;amp; " " &amp;amp; COALESCE(l, "") )
RETURN IF( s = "", BLANK(), s )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Aug 2025 07:45:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795348#M183527</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-08-13T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to combined first name and last name in DAX in semantic model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795427#M183531</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1082687" data-lia-user-login="krishna_murthy" class="lia-mention lia-mention-user"&gt;krishna_murthy&lt;/a&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Quick Solution for Combining Names - DAX &amp;amp; Power Query&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey there! Here are both approaches I use for combining first and last names:&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;DAX Solution (In Semantic Model)&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Step 1: Add Calculated Column&lt;/STRONG&gt; Go to your table in the semantic model and create a new calculated column:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Full Name = [FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Step 2: Handle Blank Values (Recommended)&lt;/STRONG&gt; If you have missing data, use this instead:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Full Name = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;IF(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;ISBLANK([FirstName]) || ISBLANK([LastName]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;COALESCE([FirstName], "") &amp;amp; COALESCE([LastName], ""),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;[FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Implementation:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Right-click your table → New Column&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Paste the formula and hit Enter&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Rename if needed&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Power Query Solution (Data Transformation)&lt;/FONT&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 1: Using Merge Columns&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Select both FirstName and LastName columns&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Go to Transform tab → Merge Columns&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Choose "Space" as separator&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Name the new column "Full Name"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 2: Custom Column Approach&lt;/STRONG&gt; Add a custom column with this M formula:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;= [FirstName] &amp;amp; " " &amp;amp; [LastName]&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Method 3: Handle Nulls in Power Query&lt;/STRONG&gt; For better null handling:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;= Text.Combine({[FirstName], [LastName]}, " ")&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;The Power Query approach is usually my go-to since it keeps the model cleaner and processes faster during refresh!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Fixed? ✓ Mark it • Share it • Help others!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Best Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;EM&gt;Jainesh Poojara | Power BI Developer&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 08:37:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-combined-first-name-and-last-name-in-DAX-in-semantic/m-p/4795427#M183531</guid>
      <dc:creator>jaineshp</dc:creator>
      <dc:date>2025-08-13T08:37:12Z</dc:date>
    </item>
  </channel>
</rss>

