<?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 using DAX to Grade Percentages in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3028709#M103397</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am scoring data quality of some product data. based on percentage differences between actual data and what the supplier has given me. in excel I would use the IFS function&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;=IFS(D21&amp;lt;0.9,"F",D21&amp;lt;=1,"A",D21&amp;lt;=0.96,"B",D21&amp;lt;=0.93,"C")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this in DAX.&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 13:10:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-18T13:10:53Z</dc:date>
    <item>
      <title>using DAX to Grade Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3028709#M103397</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am scoring data quality of some product data. based on percentage differences between actual data and what the supplier has given me. in excel I would use the IFS function&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;=IFS(D21&amp;lt;0.9,"F",D21&amp;lt;=1,"A",D21&amp;lt;=0.96,"B",D21&amp;lt;=0.93,"C")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this in DAX.&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 13:10:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3028709#M103397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: using DAX to Grade Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3028763#M103406</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;As per my understanding, I have tried to answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Flag = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;0.9&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"F"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;0.96&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"B"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sheet1&lt;/SPAN&gt;&lt;SPAN&gt;[Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;0.93&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"C"&lt;/SPAN&gt;&lt;SPAN&gt;))))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Shreya&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark my post as a solution!&lt;/P&gt;&lt;P&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Jan 2023 13:30:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3028763#M103406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T13:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: using DAX to Grade Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3029058#M103435</link>
      <description>&lt;P&gt;I managed to sort it using SWITCH(TRUE().&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Grades: = &lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;'VELU001_Weights_Graded'&lt;/SPAN&gt;&lt;SPAN&gt;[VELU001_Audited_Weight_Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;0.04&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'VELU001_Weights_Graded'&lt;/SPAN&gt;&lt;SPAN&gt;[VELU001_Audited_Weight_Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;0.07&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"B"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'VELU001_Weights_Graded'&lt;/SPAN&gt;&lt;SPAN&gt;[VELU001_Audited_Weight_Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;0.1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"C"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'VELU001_Weights_Graded'&lt;/SPAN&gt;&lt;SPAN&gt;[VELU001_Audited_Weight_Difference]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0.1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Fail"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;Thanks for your swift reply and help&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:42:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-DAX-to-Grade-Percentages/m-p/3029058#M103435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T15:42:17Z</dc:date>
    </item>
  </channel>
</rss>

