<?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: Monthly to daily conversion in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3051974#M105163</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALENDAR = CALENDAR(DATE(2018,1,1),DATE(2023,12,31))&lt;/LI-CODE&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result =
VAR _day =
    DAY (
        EOMONTH (
            DATE ( MAX ( 'CALENDAR'[Date].[Year] ), MONTH ( CONVERT ( MAX ( 'CALENDAR'[Date].[Month] ) &amp;amp; " 1", DATETIME ) ), 1 ),
            0
        )
    )
RETURN
    DIVIDE ( SUM ( 'Table'[Monthly] ), _day )
&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2023 07:46:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-31T07:46:48Z</dc:date>
    <item>
      <title>Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013316#M102229</link>
      <description>&lt;P&gt;Hello i have monthly data need to convert it into daily&lt;BR /&gt;for eg. for dec 22 my monthly data is 1814 in daily i want 1814/31(no. of days in month) = 59&amp;nbsp;&lt;BR /&gt;Thanks in advance&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 09:09:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013316#M102229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-11T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013362#M102231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Create a calculate column like below&lt;BR /&gt;col1=int(TABLE["Monthly"]/31)&lt;/P&gt;&lt;P&gt;the above will give you the same day itself, if you want the decimal to be the next number you can use the following&lt;BR /&gt;col2=&lt;BR /&gt;var divi=TABLE["Monthly"]/31&lt;BR /&gt;return&lt;/P&gt;&lt;P&gt;round(divi,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Camel&lt;BR /&gt;-----------------------------------------------------&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;BR /&gt;Appreciate your thumbs up!&lt;BR /&gt;@ me in replies or I'll lose your thread.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 09:36:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013362#M102231</guid>
      <dc:creator>Camel</dc:creator>
      <dc:date>2023-01-11T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013510#M102238</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="494692" data-lia-user-login="Camel" class="lia-mention lia-mention-user"&gt;Camel&lt;/a&gt;&amp;nbsp;for your reply but i want this data to change as per month selection&amp;nbsp;&lt;BR /&gt;e.g. for November 22 number days are 30 so it should change accordingly&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 10:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013510#M102238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-11T10:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013539#M102241</link>
      <description>&lt;P&gt;In the above shared excel there is no month data ,if you could help me with the exact context and requirement i could help you.&lt;BR /&gt;If there is a date column in your dataset can you share that data along with existing data&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 10:47:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013539#M102241</guid>
      <dc:creator>Camel</dc:creator>
      <dc:date>2023-01-11T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013751#M102256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="494692" data-lia-user-login="Camel" class="lia-mention lia-mention-user"&gt;Camel&lt;/a&gt;&amp;nbsp;sharing dummy data and expected results with you please check&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1PydFWRHcYA62FKEoyqCo3i49JzqJCO2o/edit?usp=share_link&amp;amp;ouid=105643774708082133910&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1PydFWRHcYA62FKEoyqCo3i49JzqJCO2o/edit?usp=share_link&amp;amp;ouid=105643774708082133910&amp;amp;rtpof=true&amp;amp;sd=true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 12:35:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3013751#M102256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-11T12:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015683#M102394</link>
      <description>&lt;P&gt;are you able to access the file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 05:33:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015683#M102394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-12T05:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015726#M102398</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL you shared need password to access. Could you paste some table as text in the reply?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.s. please consider&amp;nbsp;@someone, ifyou seek further suggestion.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 05:56:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015726#M102398</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-12T05:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015906#M102416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;i think you can substitue 31 with a DAYS(EOMONTH(MONTH(NOW()),0),0) in var col1 and it will work for you if you are looking for current month count. Im not able to access the link you shared btw.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;col1=&lt;BR /&gt;var d1=DAYS(EOMONTH(MONTH(NOW()),0),0)&lt;BR /&gt;var d2=TABLE["Monthly"]/d1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&amp;nbsp;round(d2,0)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:42:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3015906#M102416</guid>
      <dc:creator>Camel</dc:creator>
      <dc:date>2023-01-12T07:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly to daily conversion</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3051974#M105163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALENDAR = CALENDAR(DATE(2018,1,1),DATE(2023,12,31))&lt;/LI-CODE&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result =
VAR _day =
    DAY (
        EOMONTH (
            DATE ( MAX ( 'CALENDAR'[Date].[Year] ), MONTH ( CONVERT ( MAX ( 'CALENDAR'[Date].[Month] ) &amp;amp; " 1", DATETIME ) ), 1 ),
            0
        )
    )
RETURN
    DIVIDE ( SUM ( 'Table'[Monthly] ), _day )
&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 07:46:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-to-daily-conversion/m-p/3051974#M105163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-31T07:46:48Z</dc:date>
    </item>
  </channel>
</rss>

