<?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: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307069#M171028</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="833383" data-lia-user-login="FarhanJeelani" class="lia-mention lia-mention-user"&gt;FarhanJeelani&lt;/a&gt;&amp;nbsp;i was able to get 0 but I wanted blank, the formula below is not working, still it showing in aggregated format.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Measure = 
IF(
    ISBLANK(CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))),
    BLANK(),
    CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))
)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 06:41:45 GMT</pubDate>
    <dc:creator>Madhu155</dc:creator>
    <dc:date>2024-11-29T06:41:45Z</dc:date>
    <item>
      <title>Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306090#M170987</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue with the "Day" column from the calendar table. When using the following measure, only the day values are displayed from the column which as values from the fact table.&lt;BR /&gt;&lt;BR /&gt;However, I want all-day values to be shown from the column and&amp;nbsp;I want the formula to show "zero" or leave the cell blank if there is no value for that day.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below is the measure I am using:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX Formula:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;DIV class=""&gt;=DISTINCTCOUNT('_Orgination - Final_'[LoanId])&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;Note 1: There is a many-to-one relationship between the fact table and the calendar table, where the "many" side is the fact table and the "one" side is the calendar table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Note 2: The "Days[Row Label]" is from the calendar table.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Note 3: I have tried several approaches but have not been able to achieve the desired result.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Nov 2024 11:13:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306090#M170987</guid>
      <dc:creator>Madhu155</dc:creator>
      <dc:date>2024-11-28T11:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306110#M170988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601846" data-lia-user-login="Madhu155" class="lia-mention lia-mention-user"&gt;Madhu155&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;To display all days from the calendar table and show a 0 (or blank) for days without data, you need to modify your measure to use a function that respects the full context of the calendar table. Here’s an updated DAX formula you can try:&lt;/P&gt;&lt;PRE&gt;Measure = 
CALCULATE(
    DISTINCTCOUNT('_Orgination - Final_'[LoanId]),
    CROSSFILTER('Calendar'[Date], '_Orgination - Final_'[Date], BOTH)
)
+ 0&lt;/PRE&gt;&lt;P&gt;If you want to display 0 explicitly or leave the cells blank, adjust the measure:&lt;/P&gt;&lt;H3&gt;For 0:&lt;/H3&gt;&lt;PRE&gt;Measure = 
IF(
    ISBLANK(CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))),
    0,
    CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))
)&lt;/PRE&gt;&lt;H3&gt;For blank cells:&lt;/H3&gt;&lt;PRE&gt;Measure = 
IF(
    ISBLANK(CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))),
    BLANK(),
    CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))
)&lt;/PRE&gt;&lt;H3&gt;Key Steps:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Ensure Your Calendar Table Has Full Dates&lt;/STRONG&gt;: Verify that your calendar table includes all required days (e.g., a full range from January 1 to December 31).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check Relationships&lt;/STRONG&gt;: Confirm the relationship between your calendar table and fact table is active and correctly configured.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use a Visual That Supports Missing Data&lt;/STRONG&gt;: Use visuals like a table or matrix and ensure the "Show items with no data" option is enabled.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let me know if this works for your scenario!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Please mark this as solution if it helps. Appreciate Kudos.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 11:23:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306110#M170988</guid>
      <dc:creator>FarhanJeelani</dc:creator>
      <dc:date>2024-11-28T11:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306374#M171003</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601846" data-lia-user-login="Madhu155" class="lia-mention lia-mention-user"&gt;Madhu155&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;measure = =DISTINCTCOUNT('_Orgination - Final_'[LoanId]) + 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or feed the pivot table ro&lt;SPAN&gt;w with the day column from the calendar table.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 14:34:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4306374#M171003</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-28T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307008#M171025</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 06:07:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307008#M171025</guid>
      <dc:creator>Madhu155</dc:creator>
      <dc:date>2024-11-29T06:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307012#M171026</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 06:12:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307012#M171026</guid>
      <dc:creator>Madhu155</dc:creator>
      <dc:date>2024-11-29T06:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307069#M171028</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="833383" data-lia-user-login="FarhanJeelani" class="lia-mention lia-mention-user"&gt;FarhanJeelani&lt;/a&gt;&amp;nbsp;i was able to get 0 but I wanted blank, the formula below is not working, still it showing in aggregated format.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Measure = 
IF(
    ISBLANK(CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))),
    BLANK(),
    CALCULATE(DISTINCTCOUNT('_Orgination - Final_'[LoanId]))
)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 06:41:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307069#M171028</guid>
      <dc:creator>Madhu155</dc:creator>
      <dc:date>2024-11-29T06:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307256#M171041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601846" data-lia-user-login="Madhu155" class="lia-mention lia-mention-user"&gt;Madhu155&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Just add Zero in your measure , it will work&lt;BR /&gt;&lt;SPAN&gt;=DISTINCTCOUNT('_Orgination - Final_'[LoanId])+0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 08:31:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4307256#M171041</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2024-11-29T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Displaying All Days as Values from Calendar Table Using DAX Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4309043#M171123</link>
      <description>&lt;P&gt;Thanks for the replies from&amp;nbsp;Rupak_bi,&amp;nbsp;FreemanZ&amp;nbsp;and&amp;nbsp;FarhanJeelani.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601846" data-lia-user-login="Madhu155" class="lia-mention lia-mention-user"&gt;Madhu155&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;If you want to display a value that has no data and does not need to be displayed as 0. You can select a visual. In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Values&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fields well, right-click the field and select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Show items with no data&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from the menu.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;Show items with no data&lt;SPAN&gt;&amp;nbsp;feature lets you include data rows and columns that don't contain measure data (blank measure values).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 02:22:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Displaying-All-Days-as-Values-from-Calendar-Table/m-p/4309043#M171123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-02T02:22:58Z</dc:date>
    </item>
  </channel>
</rss>

