<?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: DYNAMIC FORMAT USING DAX FOR SLICER in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280083#M21808</link>
    <description>&lt;P&gt;You are on a roll! So the currency values have been FIXED and the percentages look good with only a very minor issue. See picture below:&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 11:34:50 GMT</pubDate>
    <dc:creator>cuohanele</dc:creator>
    <dc:date>2020-08-07T11:34:50Z</dc:date>
    <item>
      <title>DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277799#M21708</link>
      <description>&lt;P&gt;Hi everyone! In need of some assistance.&lt;/P&gt;&lt;P&gt;I created a dynamic format for a column in my table to be filtered by a specific slicer. Unfortunately, it is sorting the numbers like they are string. I used the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales$ = IF(ISCROSSFILTERED('Parameter'[calculations]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH( TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES('Parameter'[calculations]) = "YoY%", &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH( TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABS([Sales$ YoY%]) &amp;lt; 1, FORMAT([Sales$ YoY%],"0.0%"),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABS([Sales$ YoY%]) &amp;gt;= 1, FORMAT([Sales$ YoY%],"0%"),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES('Parameter'[calculations]) = "YoY Gap", CONCATENATE("$", FORMAT([Sales$ YoY Gap],"0,0")),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES('Parameter'[calculations]) = "Current Year Actuals", CONCATENATE("$", FORMAT([Sales$ CY],"0,0")),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK()), BLANK ())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When any of the options in the slicer is picked, it returns this column sorted out of order. See below for visual:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;So it is sorting something like this:&lt;/DIV&gt;&lt;DIV&gt;100&lt;/DIV&gt;&lt;DIV&gt;1&lt;/DIV&gt;&lt;DIV&gt;2&lt;/DIV&gt;&lt;DIV&gt;200&lt;/DIV&gt;&lt;DIV&gt;222&lt;/DIV&gt;&lt;DIV&gt;3&lt;/DIV&gt;&lt;DIV&gt;33&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Aug 2020 14:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277799#M21708</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T14:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277928#M21715</link>
      <description>&lt;P&gt;That's what you get when you use FORMAT() - it produces strings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Sales$ := IF(ISCROSSFILTERED('Parameter'[calculations]),
SWITCH( TRUE(),
    VALUES('Parameter'[calculations]) = "YoY%",
SWITCH( TRUE(),
ABS([Sales$ YoY%]) &amp;lt; 0.1, FORMAT([Sales$ YoY%]," 0.0%"),
ABS([Sales$ YoY%]) &amp;lt; 1, FORMAT([Sales$ YoY%],"0.0%"),
FORMAT([Sales$ YoY%],"0%")
),
    VALUES('Parameter'[calculations]) = "YoY Gap", CONCATENATE("$", FORMAT([Sales$ YoY Gap],"0,0")),
    VALUES('Parameter'[calculations]) = "Current Year Actuals", CONCATENATE("$", FORMAT([Sales$ CY],"0,0")),
BLANK()), BLANK ())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:51:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277928#M21715</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-06T15:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277930#M21716</link>
      <description>You're returning STRINGS from your measure, not numbers. FORMAT returns STRINGS. Dynamic formatting of measures is only available through calculation groups which are only available when you use Tabular Editor to design measures. It's not possible (yet) through the Power BI Desktop GUI. Sorry.</description>
      <pubDate>Thu, 06 Aug 2020 15:50:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277930#M21716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-06T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277933#M21717</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="251238" data-lia-user-login="cuohanele" class="lia-mention lia-mention-user"&gt;cuohanele&lt;/a&gt;&amp;nbsp;- Correct, the minute you use FORMAT, everything is a string. You might have some luck with the technique described here:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It allows you to keep things numeric but display them differently.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:51:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277933#M21717</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-06T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277964#M21718</link>
      <description>&lt;P&gt;Is there a way to create three separate slicers that filter on the same column? By doing that I can change the datatypes for each specifically instead of using one string datatype for all three slicer options&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1277964#M21718</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278022#M21720</link>
      <description>&lt;P&gt;Hi. This is the same DAX i used. It's returning the column as texts and sorting out of order still&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 16:20:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278022#M21720</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278067#M21725</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="251238" data-lia-user-login="cuohanele" class="lia-mention lia-mention-user"&gt;cuohanele&lt;/a&gt;&amp;nbsp;No, it is not the same. There are subtle differences.&amp;nbsp; Try it out.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 16:33:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278067#M21725</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-06T16:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278092#M21727</link>
      <description>&lt;P&gt;Wow! It definitely made a change but we still ran into an issue. It's sorting the 100's like they are the number 10. See below:&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 16:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278092#M21727</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278096#M21729</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Sales$ := IF(ISCROSSFILTERED('Parameter'[calculations]),
SWITCH( TRUE(),
    VALUES('Parameter'[calculations]) = "YoY%",
SWITCH( TRUE(),
ABS([Sales$ YoY%]) &amp;lt; 0.1, FORMAT([Sales$ YoY%],"  0.0%"),
ABS([Sales$ YoY%]) &amp;lt; 1, FORMAT([Sales$ YoY%]," 0.0%"),
FORMAT([Sales$ YoY%],"0%")
),
    VALUES('Parameter'[calculations]) = "YoY Gap", CONCATENATE("$", FORMAT([Sales$ YoY Gap],"0,0")),
    VALUES('Parameter'[calculations]) = "Current Year Actuals", CONCATENATE("$", FORMAT([Sales$ CY],"0,0")),
BLANK()), BLANK ())&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 16:54:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278096#M21729</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-06T16:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278115#M21730</link>
      <description>&lt;P&gt;We're getting somewhere! So it sorted the percentages right! But now the currency values are out of order (YOY GAP and Current Year Actuals). See below:&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:03:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278115#M21730</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278119#M21731</link>
      <description>&lt;P&gt;Instead of all these stunts in the code and workarounds that will soon become hardly readable... why not use the functionality of PBI that's called bookmarks? Instead of a slicer for parameters just use buttons+bookmarks and everything will be easy and simple. By the way, by doing what you're doing right now you're risking that one day there'll be a case you have not thought about and you'll get a messed-up display. Please, for your own good, use buttons, views and bookmarks with simple measures.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:06:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278119#M21731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-06T17:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278126#M21733</link>
      <description>&lt;P&gt;How can I go about doing that?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:06:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278126#M21733</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-06T17:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278144#M21737</link>
      <description>Watch this: &lt;A href="https://youtu.be/DuBc_71YIaE" target="_blank"&gt;https://youtu.be/DuBc_71YIaE&lt;/A&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:14:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278144#M21737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-06T17:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278610#M21761</link>
      <description>&lt;P&gt;Stunts schmunts.&amp;nbsp; Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Sales$ :=
IF (
    ISCROSSFILTERED ( 'Parameter'[calculations] ),
    SWITCH (
        TRUE (),
        VALUES ( 'Parameter'[calculations] ) = "YoY%", IF (
            ABS ( [Sales$ YoY%] ) &amp;lt; 1,
            RIGHT ( "  " &amp;amp; FORMAT ( [Sales$ YoY%], "0.0%" ), 5 ),
            FORMAT ( [Sales$ YoY%], "0%" )
        ),
        VALUES ( 'Parameter'[calculations] ) = "YoY Gap", RIGHT ( "         $" &amp;amp; FORMAT ( [Sales$ YoY Gap], "0,0" ), 12 ),
        VALUES ( 'Parameter'[calculations] ) = "Current Year Actuals", RIGHT ( "         $" &amp;amp; FORMAT ( [Sales$ CY], "0,0" ), 12 ),
        BLANK ()
    ),
    BLANK ()
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 22:41:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1278610#M21761</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-06T22:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280083#M21808</link>
      <description>&lt;P&gt;You are on a roll! So the currency values have been FIXED and the percentages look good with only a very minor issue. See picture below:&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:34:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280083#M21808</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-07T11:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280103#M21809</link>
      <description>&lt;P&gt;GOT IT!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took the initial code you sent that fixed the percentage values and switched it out with the new line of code but left the currency values as is. THIS IS THE CODE THAT WORKS. Thank you so much!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales$ (Table) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ISCROSSFILTERED ( 'Parameter'[calculations] ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE (),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES('Parameter'[calculations]) = "YoY%",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH( TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABS([Sales$ YoY%]) &amp;lt; 0.1, FORMAT([Sales$ YoY%]," 0.0%"),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABS([Sales$ YoY%]) &amp;lt; 1, FORMAT([Sales$ YoY%]," 0.0%"),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FORMAT([Sales$ YoY%],"0%")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES ( 'Parameter'[calculations] ) = "YoY Gap", RIGHT ( " $" &amp;amp; FORMAT ( [Sales$ YoY Gap], "0,0" ), 12 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES ( 'Parameter'[calculations] ) = "Current Year Actuals", RIGHT ( " $" &amp;amp; FORMAT ( [Sales$ CY], "0,0" ), 12 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK ()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK ()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:41:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280103#M21809</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-07T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280111#M21810</link>
      <description>&lt;P&gt;Add another space and change the 5 to 6.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:42:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280111#M21810</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-07T11:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280121#M21811</link>
      <description>&lt;P&gt;That works! Thanks a bunch. This is the final DAX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales$ (Table) :=&lt;BR /&gt;IF (&lt;BR /&gt;ISCROSSFILTERED ( 'Parameter'[calculations] ),&lt;BR /&gt;SWITCH (&lt;BR /&gt;TRUE (),&lt;BR /&gt;VALUES ( 'Parameter'[calculations] ) = "YoY%", IF (&lt;BR /&gt;ABS ( [Sales$ YoY%] ) &amp;lt; 1,&lt;BR /&gt;RIGHT ( " " &amp;amp; FORMAT ( [Sales$ YoY%], "0.0%" ), 6 ),&lt;BR /&gt;FORMAT ( [Sales$ YoY%], "0%" )&lt;BR /&gt;),&lt;BR /&gt;VALUES ( 'Parameter'[calculations] ) = "YoY Gap", RIGHT ( " $" &amp;amp; FORMAT ( [Sales$ YoY Gap], "0,0" ), 12 ),&lt;BR /&gt;VALUES ( 'Parameter'[calculations] ) = "Current Year Actuals", RIGHT ( " $" &amp;amp; FORMAT ( [Sales$ CY], "0,0" ), 12 ),&lt;BR /&gt;BLANK ()&lt;BR /&gt;),&lt;BR /&gt;BLANK ()&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:47:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280121#M21811</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-07T11:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280611#M21840</link>
      <description>&lt;P&gt;If there were negative percentages, how will the code look? Ran into that issue&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 14:57:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280611#M21840</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-07T14:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC FORMAT USING DAX FOR SLICER</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280679#M21841</link>
      <description>&lt;P&gt;What if there are negative numbers? I tried applying&amp;nbsp; the same logic of your previous DAX to other columns with negative percentages and negative dollar amounts. I ran into this:&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 15:36:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DYNAMIC-FORMAT-USING-DAX-FOR-SLICER/m-p/1280679#M21841</guid>
      <dc:creator>cuohanele</dc:creator>
      <dc:date>2020-08-07T15:36:51Z</dc:date>
    </item>
  </channel>
</rss>

