<?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: Measures showing blank where it expects data. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017500#M158406</link>
    <description>&lt;P&gt;Add the measures to a Matrix visual's values, then select "show values on rows"&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 02:14:48 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-07-01T02:14:48Z</dc:date>
    <item>
      <title>Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4015757#M158263</link>
      <description>&lt;P&gt;I have a table measure which I'm using in a Table Visualization. The Below DAX script shows it gets data from a Measure called TotalSales. When I put the TotalSales in a Card, it displays the correct value. But when I put them in a table, it gives me a blank value. This is just a sample. My intention is to union the selectColumns with diverse data and display it in a single table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks.&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PaxMetricsTable = 


VAR TotalSales = CALCULATE([TotalSales])



	VAR DataTempTable =
	DATATABLE(
	"Category",STRING,"Actuals",INTEGER,
	{{"none",0}}
	)
	VAR TempTable =

		SELECTCOLUMNS(
			DataTempTable,
			"Category", "Total Sales",
			"Actuals",TotalSales
		)


RETURN
    TempTable&lt;/LI-CODE&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;</description>
      <pubDate>Fri, 28 Jun 2024 13:55:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4015757#M158263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-28T13:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017405#M158398</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;I have a table measure&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no such thing*. Measures can only return scalar values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* unless your table is a single row single column table.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 01:00:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017405#M158398</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T01:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017410#M158399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;, Sorry I meant a calculated DAX Table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 01:06:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017410#M158399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T01:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017470#M158402</link>
      <description>&lt;P&gt;You cannot (meaningfully) create a calculated column or calculated table from a measure as the calculated item is not supposed to be impacted by the filter context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 01:56:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017470#M158402</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T01:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017492#M158405</link>
      <description>&lt;P&gt;Is there an alternative solution to make this work. I have 20 different measures that I need to display in a table visualization. Each measure has different calculations. All the measures should be based on the Slicer selections like Date, Bussiness Unit &amp;amp; LocationCode.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 02:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017492#M158405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T02:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017500#M158406</link>
      <description>&lt;P&gt;Add the measures to a Matrix visual's values, then select "show values on rows"&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 02:14:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017500#M158406</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T02:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017616#M158418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;, THanks for the quick repsonse. I tried this method before ,but can't get what I needed. Please have a look at the below screenshot.&amp;nbsp;&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;&lt;P&gt;I need 10 rows with 2 columns which Actuals and Budget. If I add all the values in the Matrix table, it would create long list of columns rather than the format that I require. Alternatively if I create a DAX table to create the Rows and Column that I require, I would loose the data as it is relying on the Slicers SelectedValue which doesn't get passed on to the DAX Table.&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>Mon, 01 Jul 2024 03:09:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4017616#M158418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T03:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Measures showing blank where it expects data.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4018640#M158503</link>
      <description>&lt;P&gt;You didn't do the second step.&amp;nbsp; Show values on rows.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:22:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-showing-blank-where-it-expects-data/m-p/4018640#M158503</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T13:22:44Z</dc:date>
    </item>
  </channel>
</rss>

