<?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 Visualising a measure when using a calculated column is not possible in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586211#M138349</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need your help.&lt;/P&gt;&lt;P&gt;In order to illustrate my problem I use the following sample data set:&lt;/P&gt;&lt;P&gt;HERE you will find the data set as well as the .pbix file I am using:&lt;/P&gt;&lt;P&gt;&lt;A title=".pbix and data file" href="https://th-koeln.sciebo.de/s/swVzGZ4cXsOTT3k" target="_self"&gt;https://th-koeln.sciebo.de/s/swVzGZ4cXsOTT3k&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My objective&lt;/STRONG&gt;: I calculated the zscore of the 'value1' col by means of a measure. I used a measure since I need to recompute the zscore every time I am slicing the data, so e.g. if I select a certain 'industry' or 'sector' slice my list changes accordingly, hence I need to re-compute the zscore for this resulting slice of data (since there remain less data points in my distribution). I also do a binning of the zscore as you can see in the last column. Everything works perfectly fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My problem&lt;/STRONG&gt;:&amp;nbsp;HOWEVER, I am not able to visualize the counts of the zscore over the respective bins. I understand that a measure is not meant to get visualized on an x-axis of a bar chart for instance. And I also understand that I am supposed to use a calculated column. But since this one would be static and not recalculate the zscore every time I slice my data in the table I am somewhat stuck and don't know how to solve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated. Thanks very much!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 17:36:29 GMT</pubDate>
    <dc:creator>gheisenberg</dc:creator>
    <dc:date>2023-12-15T17:36:29Z</dc:date>
    <item>
      <title>Visualising a measure when using a calculated column is not possible</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586211#M138349</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need your help.&lt;/P&gt;&lt;P&gt;In order to illustrate my problem I use the following sample data set:&lt;/P&gt;&lt;P&gt;HERE you will find the data set as well as the .pbix file I am using:&lt;/P&gt;&lt;P&gt;&lt;A title=".pbix and data file" href="https://th-koeln.sciebo.de/s/swVzGZ4cXsOTT3k" target="_self"&gt;https://th-koeln.sciebo.de/s/swVzGZ4cXsOTT3k&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My objective&lt;/STRONG&gt;: I calculated the zscore of the 'value1' col by means of a measure. I used a measure since I need to recompute the zscore every time I am slicing the data, so e.g. if I select a certain 'industry' or 'sector' slice my list changes accordingly, hence I need to re-compute the zscore for this resulting slice of data (since there remain less data points in my distribution). I also do a binning of the zscore as you can see in the last column. Everything works perfectly fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My problem&lt;/STRONG&gt;:&amp;nbsp;HOWEVER, I am not able to visualize the counts of the zscore over the respective bins. I understand that a measure is not meant to get visualized on an x-axis of a bar chart for instance. And I also understand that I am supposed to use a calculated column. But since this one would be static and not recalculate the zscore every time I slice my data in the table I am somewhat stuck and don't know how to solve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated. Thanks very much!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 17:36:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586211#M138349</guid>
      <dc:creator>gheisenberg</dc:creator>
      <dc:date>2023-12-15T17:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising a measure when using a calculated column is not possible</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586886#M138385</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please try something like the attached pbix file whether it suits your requirement.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;</description>
      <pubDate>Sat, 16 Dec 2023 12:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586886#M138385</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-12-16T12:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising a measure when using a calculated column is not possible</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586969#M138391</link>
      <description>&lt;P&gt;Thank you very much for your great help. It seems to be exactly what I need. I am not sure that I fully understand how you sloved it. Would it be ok if you explain your solution in a few words?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;expected result measure: = 
COUNTROWS (
    FILTER (
        ADDCOLUMNS (
            SUMMARIZE (
                'values',
                'values'[name],
                'values'[industry],
                'values'[sector],
                'values'[value1]
            ),
            "@zscore", [zscore val1]
        ),
        [@zscore] &amp;gt;= MAX ( Bins_V2[Min] )
            &amp;amp;&amp;amp; [@zscore] &amp;lt; MAX ( Bins_V2[Max] )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thank you very much again. Gernot&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 16:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3586969#M138391</guid>
      <dc:creator>gheisenberg</dc:creator>
      <dc:date>2023-12-16T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising a measure when using a calculated column is not possible</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3587281#M138427</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your message.&lt;/P&gt;
&lt;P&gt;I tried to create Bin_V2 table like below, and used Bin_V2[Range] column in the visualization.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 05:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-a-measure-when-using-a-calculated-column-is-not/m-p/3587281#M138427</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-12-17T05:24:19Z</dc:date>
    </item>
  </channel>
</rss>

