<?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: Dax Forumula using power bi in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4249525#M168251</link>
    <description>&lt;P&gt;Hi, I took the data from sheet 2 and loaded it into PBI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I created 2 simple measuures:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT size="2"&gt;cek value = SUM(cek[Value])&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;cek value % =&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;DIVIDE(&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [cek value],&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; CALCULATE(&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [cek value],&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ALLSELECTED(cek[Type])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; )&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;And below is the result:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;If this helps to resolve your problem, then please mark it as solution provided. Thanks!&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sun, 20 Oct 2024 10:12:26 GMT</pubDate>
    <dc:creator>samratpbi</dc:creator>
    <dc:date>2024-10-20T10:12:26Z</dc:date>
    <item>
      <title>Dax Forumula using power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4248278#M168206</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wanna make some calculation like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i filter like this images&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;count calculation like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;if i filter this one&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;count calculation like this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i filter the dept and type total utilization will be interactive, and i wanna make it real time if it possible&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flat file relation :&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;real time table i have :&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;&lt;BR /&gt;if filtered current date :&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;active time, down time and not used keep mooving, cause this is real time data&lt;/P&gt;&lt;P&gt;and i wanna ask relation regarding table fuel utillization and reg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://drive.google.com/drive/folders/12ls8bcyA0xlY1mPQ_5kVTT48LJqJva65?usp=sharing" target="_self"&gt;Data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i Wanna Make some total utillization like that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so far, i already make it using power bi&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is flat file (not real time)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the yellow mark, already correct but the red one still wrong, i wanna convert it to percentage&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;SELECT vm.internal_id, 
	   vm.seq, 
	   vm.start_date_vhl_down AS start_date, 
	   vm.finish_date_vhl_down AS finish_date, 
	   vm.type AS trx, 
	   '' AS shift, 
	   vm.start_time_vhl_down AS start_time, 
	   vm.finish_time_vhl_down AS finish_time, 
	   '' AS duration, 
	   CONCAT(COALESCE(vm.start_vhl_down_note, ''), ';', COALESCE(vm.finish_vhl_down_note, '')) AS note, 
	   vm.status AS vehicle_status, 
	   vm.dept_id, 
	   vmd.value, 
	   vmd.detail, 
	   vr.vehicle_id, 
	   vr.type, 
	   vr.sub_type, 
	   vr.owned, 
	   vr.rent, 
	   vr.id_type, 
	   vt.id_type AS id_type_2 
FROM vms_vhl_maintenance AS vm 
JOIN vms_vhl_mst_dept AS vmd ON vmd.id = vm.dept_id 
JOIN vms_vhl_reg AS vr ON vr.internal_id = vm.internal_id 
JOIN vms_vhl_mst_type AS vt ON vt.id = vr.id_type 
WHERE 1 = 1 
--AND vm.internal_id = 'DTOF000004' 
--AND vm.start_date_vhl_down &amp;gt;= '2024-02-01' 
--AND (vm.finish_date_vhl_down IS NULL OR vm.finish_date_vhl_down &amp;lt;= '2024-02-29') 
AND vm.status = 'C';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT vo.internal_id, 
	   vo.operational_date AS start_date, 
	   vo.operational_date AS finish_date, 
	   'OPERATIONAL' AS trx, 
	   '' AS shift, 
	   vo.time_start AS start_time, 
	   vo.time_finish AS finish_time, 
	   '' AS duration, 
	   vo.note, 
	   vo.status AS vehicle_status, 
	   vo.dept_id,
	   vr.vehicle_id, 
	   vr.id_type, 
	   vr.type, 
	   vr.sub_type, 
	   vr.owned, 
	   vr.rent, 
	   vmd.value, 
	   vmd.detail, 
	   vt.id_type AS id_type_2 
FROM vms_vhl_operational AS vo 
JOIN vms_vhl_mst_dept AS vmd ON vmd.id = vo.dept_id 
JOIN vms_vhl_reg AS vr ON vr.internal_id = vo.internal_id 
JOIN vms_vhl_mst_type AS vt ON vt.id = vr.id_type 
WHERE 1 = 1 
--AND vo.internal_id = 'DTOF000004' 
--AND vo.operational_date BETWEEN '2024-02-01' AND '2024-02-29' 
AND vo.status = 'C';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;--/STEP 2/ (Crossing date )
SELECT vm.internal_id, 
	   vm.seq, 
	   vm.start_date_vhl_down AS start_date, 
	   vm.finish_date_vhl_down AS finish_date, 
	   vm.type AS trx, 
	   '' AS shift, 
	   vm.start_time_vhl_down AS start_time, 
	   vm.finish_time_vhl_down AS finish_time, 
	   '' AS duration, 
	   CONCAT(COALESCE(vm.start_vhl_down_note, ''), ';', COALESCE(vm.finish_vhl_down_note, '')) AS note, 
	   vm.status AS vehicle_status, 
	   vm.dept_id, 
	   vmd.value, 
	   vmd.detail, 
	   vr.vehicle_id, 
	   vr.type, 
	   vr.sub_type, 
	   vr.owned, 
	   vr.rent, 
	   vr.id_type, 
	   vt.id_type AS id_type_2 
FROM vms_vhl_maintenance AS vm 
JOIN vms_vhl_mst_dept AS vmd ON vmd.id = vm.dept_id 
JOIN vms_vhl_reg AS vr ON vr.internal_id = vm.internal_id 
JOIN vms_vhl_mst_type AS vt ON vt.id = vr.id_type 
WHERE 1 = 1 
AND MONTH(vm.start_date_vhl_down) &amp;lt;&amp;gt; MONTH(vm.finish_date_vhl_down) 
--AND vm.internal_id = 'DTOF000004' 
--AND ( vm.start_date_vhl_down BETWEEN '2024-02-01' AND '2024-02-29' ) 
AND vm.status = 'C';&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;LI-CODE lang="markup"&gt;SELECT vm.internal_id, 
	   vm.seq, 
	   vm.start_date_vhl_down AS start_date, 
	   vm.finish_date_vhl_down AS finish_date, 
	   vm.type AS trx, 
	   '' AS shift, 
	   vm.start_time_vhl_down AS start_time, 
	   vm.finish_time_vhl_down AS finish_time, 
	   '' AS duration, 
	   CONCAT(COALESCE(vm.start_vhl_down_note, ''), ';', COALESCE(vm.finish_vhl_down_note, '')) AS note, 
	   vm.status AS vehicle_status, 
	   vm.dept_id, 
	   vmd.value, 
	   vmd.detail, 
	   vr.vehicle_id, 
	   vr.type, 
	   vr.sub_type, 
	   vr.owned, 
	   vr.rent, 
	   vr.id_type, 
	   vt.id_type AS id_type_2 
FROM vms_vhl_maintenance AS vm 
JOIN vms_vhl_mst_dept AS vmd ON vmd.id = vm.dept_id 
JOIN vms_vhl_reg AS vr ON vr.internal_id = vm.internal_id 
JOIN vms_vhl_mst_type AS vt ON vt.id = vr.id_type 
WHERE 1 = 1 
AND MONTH(vm.start_date_vhl_down) &amp;lt;&amp;gt; MONTH(vm.finish_date_vhl_down) 
--AND vm.internal_id = 'DTOF000004' 
--AND ( vm.finish_date_vhl_down BETWEEN '2024-02-01' AND '2024-02-29' ) 
AND vm.status = 'C';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT vm.internal_id, 
	   vm.seq, 
	   vm.start_date_vhl_down AS start_date, 
	   vm.finish_date_vhl_down AS finish_date, 
	   vm.type AS trx, 
	   '' AS shift, 
	   vm.start_time_vhl_down AS start_time, 
	   vm.finish_time_vhl_down AS finish_time, 
	   '' AS duration, 
	   CONCAT(COALESCE(vm.start_vhl_down_note, ''), ';', COALESCE(vm.finish_vhl_down_note, '')) AS note, 
	   vm.status AS vehicle_status, 
	   vm.dept_id, 
	   vmd.value, 
	   vmd.detail, 
	   vr.vehicle_id, 
	   vr.type, 
	   vr.sub_type, 
	   vr.owned, 
	   vr.rent, 
	   vr.id_type, 
	   vt.id_type AS id_type_2 
FROM vms_vhl_maintenance AS vm 
JOIN vms_vhl_mst_dept AS vmd ON vmd.id = vm.dept_id 
JOIN vms_vhl_reg AS vr ON vr.internal_id = vm.internal_id 
JOIN vms_vhl_mst_type AS vt ON vt.id = vr.id_type 
WHERE 1 = 1 
AND MONTH(vm.start_date_vhl_down) &amp;lt;&amp;gt; MONTH(vm.finish_date_vhl_down) 
--AND vm.internal_id = 'DTOF000004' 
--AND ( vm.start_date_vhl_down &amp;lt; '2024-02-01' AND vm.finish_date_vhl_down &amp;gt; '2024-02-20' ) 
AND vm.status = 'C';&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;can some one help me ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&amp;nbsp;&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;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="457209" data-lia-user-login="Ritaf1983" class="lia-mention lia-mention-user"&gt;Ritaf1983&lt;/a&gt;&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="780072" data-lia-user-login="SamWiseOwl" class="lia-mention lia-mention-user"&gt;SamWiseOwl&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507" data-lia-user-login="parry2k" class="lia-mention lia-mention-user"&gt;parry2k&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 16:51:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4248278#M168206</guid>
      <dc:creator>EricoVincentciu</dc:creator>
      <dc:date>2024-10-18T16:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Forumula using power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4249150#M168239</link>
      <description>&lt;P&gt;haii, i wanna make some calculation like this&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;if i filter departement, date, and type&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got &lt;STRONG&gt;Active Time&lt;/STRONG&gt; : 39% &lt;STRONG&gt;Downtime&lt;/STRONG&gt; 0 % and &lt;STRONG&gt;not used&lt;/STRONG&gt; 61 %&lt;BR /&gt;&lt;BR /&gt;This calculation is interactive based on the filters&lt;BR /&gt;&lt;BR /&gt;another sample is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i filter departement, date, and type like this&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;i got this&amp;nbsp; &lt;STRONG&gt;Active Time, Down time and not used&lt;/STRONG&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i already make it on power bi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/drive/folders/1MoED-kh_VTU8c9b4hkCrm2tbjHqgbJGT?usp=sharing" target="_self"&gt;Power bi File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the result not same like what i make it&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;this is my excel file :&amp;nbsp;&lt;A title="Excel File" href="https://docs.google.com/spreadsheets/d/1w9Y9IE0t2sLeSLs-5CMuCmhuvV_lD9Ge/edit?usp=drive_link&amp;amp;ouid=116988692214755128090&amp;amp;rtpof=true&amp;amp;sd=true" target="_self"&gt;cek and sheet 2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me to calculate total&amp;nbsp;Active Time, Down time and not used&lt;/P&gt;&lt;P&gt;as percentages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/118660" target="_blank"&gt;@rajendraongole1&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342" target="_blank"&gt;@lbendlin&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/457209" target="_blank"&gt;@Ritaf1983&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/568855" target="_blank"&gt;@Kedar_Pande&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/780072" target="_blank"&gt;@SamWiseOwl&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/507" target="_blank"&gt;@parry2k&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 14:54:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4249150#M168239</guid>
      <dc:creator>EricoVincentciu</dc:creator>
      <dc:date>2024-10-19T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Forumula using power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4249525#M168251</link>
      <description>&lt;P&gt;Hi, I took the data from sheet 2 and loaded it into PBI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I created 2 simple measuures:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT size="2"&gt;cek value = SUM(cek[Value])&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;cek value % =&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;DIVIDE(&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [cek value],&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; CALCULATE(&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [cek value],&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ALLSELECTED(cek[Type])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; )&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;And below is the result:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;If this helps to resolve your problem, then please mark it as solution provided. Thanks!&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Oct 2024 10:12:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4249525#M168251</guid>
      <dc:creator>samratpbi</dc:creator>
      <dc:date>2024-10-20T10:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Forumula using power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4250551#M168291</link>
      <description>&lt;P&gt;thank you for your response, but i wanna ask&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to swipe this position ??&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;so i wanna make 100% as vertical and 0.00% as horizontal&lt;BR /&gt;&lt;BR /&gt;and help me make it online (real time base on my sql code)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1oPJEo_9JovFHaZiwrmyR1-RxjN1jyIIi/view?usp=drive_link" target="_self"&gt;Data Real Time&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thankyou&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 09:59:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4250551#M168291</guid>
      <dc:creator>EricoVincentciu</dc:creator>
      <dc:date>2024-10-21T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Forumula using power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4257349#M168678</link>
      <description>&lt;P&gt;Thanks for the reply from&amp;nbsp;samratpbi.&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="662584" data-lia-user-login="EricoVincentciu" class="lia-mention lia-mention-user"&gt;EricoVincentciu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the following DAX:&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;Measure = 
VAR _sum=SUM('Table'[Value])
VAR _total=CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[Type]))
RETURN
IF(_total&amp;lt;&amp;gt;0,DIVIDE(_sum,_total),0)&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;Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In addition, if you want to achieve real-time results, use Direct Query connection mode to connect to the data source you are querying instead of Import connection mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhu&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If there is any post&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 08:44:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Forumula-using-power-bi/m-p/4257349#M168678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-25T08:44:36Z</dc:date>
    </item>
  </channel>
</rss>

