<?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: Switch statement with numeric what if parameter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282675#M169967</link>
    <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="847433" data-lia-user-login="rcarhart2" class="lia-mention lia-mention-user"&gt;rcarhart2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use the code to create the calculated column.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-columns" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-columns&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 00:17:42 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2024-11-14T00:17:42Z</dc:date>
    <item>
      <title>Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282597#M169961</link>
      <description>&lt;P&gt;I created a simple numeric what if parameter from 1-12. it is called Date_names&lt;BR /&gt;I then want to use a switch statement to display this as:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;([Date_Names Value],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;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, &lt;/SPAN&gt;&lt;SPAN&gt;"Last Week YOY"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;I keep getting an error that the syntax is incorrect for my switch statement. I have tried Date_names and&amp;nbsp;&lt;SPAN&gt;'Date_Names'[Date_Names Value] in place of Date_names Value. Why is the switch statement not understanding my parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Nov 2024 22:48:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282597#M169961</guid>
      <dc:creator>rcarhart2</dc:creator>
      <dc:date>2024-11-13T22:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282675#M169967</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="847433" data-lia-user-login="rcarhart2" class="lia-mention lia-mention-user"&gt;rcarhart2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use the code to create the calculated column.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-columns" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-columns&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 00:17:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282675#M169967</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-14T00:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282703#M169970</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;Thank&amp;nbsp; you for the reply. I am not trying to create a calculated column. Some background I am a tableau user but my company switched to powerBI. I am trying to recreate my tableau logic in powerBI but not sure of the best way to do this. This is the beginning of the logic where I create a parameter then use that logic for dynamic date switching.&amp;nbsp;&lt;BR /&gt;for example this is my tableau logic for dates:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tableau date fields&lt;/P&gt;&lt;P&gt;-------------------&lt;BR /&gt;Current Date Period&lt;BR /&gt;-------------------&lt;BR /&gt;IF [Date Comparison] = 1&lt;BR /&gt;OR [Date Comparison] = 3&lt;BR /&gt;OR [Date Comparison] = 6&lt;BR /&gt;THEN DATEDIFF('month',[Date],[As of Date]) = 0&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 2&lt;BR /&gt;OR [Date Comparison] = 4&lt;BR /&gt;OR [Date Comparison] = 7&lt;BR /&gt;THEN DATEDIFF('quarter',[Date],[As of Date]) = 0&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 5&lt;BR /&gt;OR [Date Comparison] = 8&lt;BR /&gt;THEN DATEDIFF('year',[Date],[As of Date]) = 0&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 9&lt;BR /&gt;THEN DATEDIFF('day',[Date],[As of Date]) &amp;lt; 30&lt;BR /&gt;AND [Date] &amp;lt;= [As of Date]&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 10&lt;BR /&gt;THEN DATEDIFF('month',[Date],[As of Date]) &amp;lt; 12&lt;BR /&gt;AND [Date] &amp;lt;= [As of Date]&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 11&lt;BR /&gt;THEN [From] &amp;lt;= [Date]&lt;BR /&gt;AND [To] &amp;gt;= [Date]&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 12&lt;BR /&gt;THEN DATEDIFF('week',[Date],[As of Date]) = 0&lt;BR /&gt;and [Date] &amp;lt;= [As of Date]&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;-----------------------&lt;BR /&gt;Partial Month Flag&lt;BR /&gt;----------------------&lt;BR /&gt;DATETRUNC('month',[Date]) = DATETRUNC('month',{MAX([Date])})&lt;/P&gt;&lt;P&gt;-----------------------&lt;BR /&gt;Partial Quarter Flag&lt;BR /&gt;-----------------------&lt;BR /&gt;DATETRUNC('quarter',[Date]) = DATETRUNC('quarter',{MAX([Date]&lt;/P&gt;&lt;P&gt;-----------------------&lt;BR /&gt;Partial Week Flag&lt;BR /&gt;----------------------&lt;BR /&gt;DATETRUNC('week',[Date]) = DATETRUNC('week',{MAX([Date])})&lt;/P&gt;&lt;P&gt;-----------------------&lt;BR /&gt;partial year flag&lt;BR /&gt;-----------------------&lt;BR /&gt;DATETRUNC('year',[Date]) = DATETRUNC('year',{MAX([Date])})&lt;/P&gt;&lt;P&gt;-----------------------&lt;BR /&gt;prior date period&lt;BR /&gt;----------------------&lt;BR /&gt;IF [Date Comparison] = 1 THEN DATEDIFF('month',[Date], [As of Date]) = 1&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 2 THEN DATEDIFF('quarter',[Date], [As of Date]) = 1&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 3 THEN DATEDIFF('month',[Date], [As of Date]) = 12&lt;BR /&gt;&lt;BR /&gt;ELSEIF [Date Comparison] = 4 THEN DATEDIFF('quarter',[Date],[As of Date]) = 4&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 5 THEN DATEDIFF('year',[Date],[As of Date]) = 1&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 6 THEN DATEDIFF('month',[Date] ,[As of Date]) = 1 AND [Date] &amp;lt;= DATEADD('month',-1,[As of Date])&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 7 THEN DATEDIFF('quarter',[Date],[As of Date]) = 1 AND [Date] &amp;lt;= DATEADD('quarter',-1,[As of Date])&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 8 THEN DATEDIFF('year',[Date],[As of Date]) = 1 AND [Date] &amp;lt;= DATEADD('year',-1,[As of Date])&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 9 THEN DATEDIFF('day',[Date],[As of Date]) &amp;gt;= 30 AND DATEDIFF('day',[Date],[As of Date]) &amp;lt; 60&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 10 THEN DATEDIFF('month',[Date],[As of Date]) &amp;gt;= 12 AND DATEDIFF('month',[Date],[As of Date]) &amp;lt; 24&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 11 THEN DATEDIFF('day',[Date],[As of Date]) &amp;gt;= [Days in Range] AND DATEDIFF('day',[Date],[As of Date]) &amp;lt; [Days in Range]*2&lt;/P&gt;&lt;P&gt;ELSEIF [Date Comparison] = 12 then DATEDIFF('week',[Date],[As of Date]) = 52&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;------------------------------&lt;BR /&gt;as of date&lt;BR /&gt;------------------------------&lt;BR /&gt;//MTD (6), QTD (7), YTD (8), Rolling 30 days (9)&lt;BR /&gt;IF [Date Comparison] &amp;gt;= 6 AND [Date Comparison] &amp;lt;= 9&lt;/P&gt;&lt;P&gt;THEN {MAX([Date])}&lt;/P&gt;&lt;P&gt;//Custom (11)&lt;BR /&gt;ELSEIF [Date Comparison] = 11&lt;/P&gt;&lt;P&gt;THEN [To]&lt;/P&gt;&lt;P&gt;ELSE&lt;BR /&gt;{MAX(&lt;/P&gt;&lt;P&gt;//Last Full vs. Prior Month (1) OR Last Full Month YoY (3) OR Rolling 12 Months (10)&lt;BR /&gt;IF (( [Date Comparison] = 1 OR [Date Comparison] = 3 OR [Date Comparison] = 10 )&lt;BR /&gt;AND NOT [Partial Month Flag] )&lt;/P&gt;&lt;P&gt;//Last Full vs. Prior Quarter (2) OR Last Full Quarter YoY (4)&lt;BR /&gt;OR (( [Date Comparison] = 2 OR [Date Comparison] = 4)&lt;BR /&gt;AND NOT [Partial Quarter Flag] )&lt;/P&gt;&lt;P&gt;//Last Full vs. Prior Year (5)&lt;BR /&gt;OR (( [Date Comparison] = 5)&lt;BR /&gt;AND NOT [partial year flag] )&lt;BR /&gt;//Last Full week vs Prior Year (12)&lt;BR /&gt;OR (( [Date Comparison] = 12)&lt;BR /&gt;AND NOT [Partial Week Flag2] )&lt;/P&gt;&lt;P&gt;THEN [Date] END)}&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;-----------------------------&lt;BR /&gt;Days in Range&lt;BR /&gt;-----------------------------&lt;BR /&gt;DATEDIFF('day',&lt;BR /&gt;{MIN( IF [Current Date Period] THEN [Date] END)},&lt;BR /&gt;{MAX( IF [Current Date Period] THEN [Date] END)})+1&lt;BR /&gt;-----------------------------&lt;BR /&gt;Days in range comparison&lt;BR /&gt;-----------------------------&lt;BR /&gt;DATEDIFF('day',&lt;BR /&gt;{MAX( IF [Prior Date Period] THEN [Date] END)},&lt;BR /&gt;{MAX( IF [Current Date Period] THEN [Date] END)})&lt;/P&gt;&lt;P&gt;Tableau Date parameters&lt;/P&gt;&lt;P&gt;----------------------&lt;BR /&gt;Date comparison&lt;BR /&gt;----------------------&lt;BR /&gt;Integer: Display as&lt;BR /&gt;1: Last Month vs Prior Month&lt;BR /&gt;2: Last Quarter vs Prior Quarter&lt;BR /&gt;3: Last Month YOY&lt;BR /&gt;4: Last Quarter YOY&lt;BR /&gt;5: Last Year vs Prior Year&lt;BR /&gt;6: MTD vs Prior MTD&lt;BR /&gt;7: QTD vs Prior QTD&lt;BR /&gt;8: YTD vs Prior YTD&lt;BR /&gt;9: Rolling 30 Days&lt;BR /&gt;10: Rolling 12 months&lt;BR /&gt;11: Custom&lt;BR /&gt;12: Last Week YOY&lt;/P&gt;&lt;P&gt;------------------&lt;BR /&gt;From&lt;BR /&gt;-----------------&lt;BR /&gt;Date&lt;/P&gt;&lt;P&gt;----------------&lt;BR /&gt;To&lt;BR /&gt;---------------&lt;BR /&gt;Date&lt;BR /&gt;&lt;BR /&gt;I am trying to recreate the date comparison part in powerBI.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 01:02:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4282703#M169970</guid>
      <dc:creator>rcarhart2</dc:creator>
      <dc:date>2024-11-14T01:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4283116#M169994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="847433" data-lia-user-login="rcarhart2" class="lia-mention lia-mention-user"&gt;rcarhart2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue you’re encountering is likely due to referencing the &lt;STRONG&gt;What-If parameter&lt;/STRONG&gt; incorrectly in your SWITCH statement. When you create a &lt;STRONG&gt;What-If parameter&lt;/STRONG&gt; in Power BI, it generates a table and a measure associated with that parameter. Typically, the measure representing the parameter's selected value is named something like [ParameterName Value], where "ParameterName" is the name you gave the parameter.&lt;/P&gt;&lt;P&gt;Here’s how to correctly reference the parameter in your SWITCH statement:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Verify Parameter Measure Name&lt;/STRONG&gt;: Check the Fields pane in Power BI to confirm the exact name of the measure for your What-If parameter. It should appear under the parameter table with a name like [Date_names Value].&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Update the SWITCH Statement&lt;/STRONG&gt;: Use this measure in your SWITCH statement as shown below:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SWITCH(
    [Date_names Value],
    1, "Last Month vs Prior Month",
    2, "Last Quarter vs Prior Quarter",
    3, "Last Month YOY",
    4, "Last Quarter YOY",
    5, "Last Year vs Prior Year",
    6, "MTD vs Prior MTD",
    7, "QTD vs Prior QTD",
    8, "YTD vs Prior YTD",
    9, "Rolling 30 Days",
    10, "Rolling 12 Months",
    11, "Custom",
    12, "Last Week YOY",
    "Invalid Selection" // Optional default case
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Common Issues to Check:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Correct Measure Name&lt;/STRONG&gt;: Ensure [Date_names Value] matches the measure name exactly. It’s case-sensitive, so ensure capitalization is correct.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Data Type&lt;/STRONG&gt;: Confirm that [Date_names Value] is numeric (which it should be, as it’s from a What-If parameter).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Default Case&lt;/STRONG&gt;: Adding a default case (e.g., "Invalid Selection") at the end can sometimes help troubleshoot unexpected results.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let me know if this resolves the issue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution, this will help others!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If my response(s) assisted you in any way, don't forget to drop me a "&lt;STRONG&gt;Kudos&lt;/STRONG&gt;" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Poojara&lt;BR /&gt;Data Analyst | MSBI Developer | Power BI Consultant&lt;BR /&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;: &lt;A href="https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS" target="_blank" rel="noopener"&gt;https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 06:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4283116#M169994</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2024-11-14T06:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4284644#M170055</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="837199" data-lia-user-login="Poojara_D12" class="lia-mention lia-mention-user"&gt;Poojara_D12&lt;/a&gt;&amp;nbsp;Thank you. I was also doing this in dax when it was a measure. thank you for your reply.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 20:39:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4284644#M170055</guid>
      <dc:creator>rcarhart2</dc:creator>
      <dc:date>2024-11-14T20:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with numeric what if parameter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4285147#M170083</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="847433" data-lia-user-login="rcarhart2" class="lia-mention lia-mention-user"&gt;rcarhart2&lt;/a&gt;&amp;nbsp; Glad to hear that!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 04:29:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-numeric-what-if-parameter/m-p/4285147#M170083</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2024-11-15T04:29:17Z</dc:date>
    </item>
  </channel>
</rss>

