{"id":63302,"date":"2026-01-21T20:16:45","date_gmt":"2026-01-21T12:16:45","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/63302.html"},"modified":"2026-01-21T20:16:45","modified_gmt":"2026-01-21T12:16:45","slug":"power-bi-2022-%e6%96%b0%e5%a2%9e%e7%aa%97%e5%8f%a3%e5%87%bd%e6%95%b0%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/63302.html","title":{"rendered":"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790"},"content":{"rendered":"<h3>\u4e00\u30012022 &#043; \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4e0e\u4f18\u52bf&#xff08;vs \u4f20\u7edf\u51fd\u6570&#xff09;<\/h3>\n<table>\n<tr>\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4f20\u7edf\u66ff\u4ee3\u51fd\u6570\u6838\u5fc3\u4f18\u52bf\u6027\u80fd \/ \u6613\u7528\u6027\u5bf9\u6bd4<\/tr>\n<tbody>\n<tr>\n<td>OFFSET<\/td>\n<td>\u52a8\u6001\u76f8\u5bf9\u504f\u79fb&#xff0c;\u57fa\u4e8e\u5f53\u524d\u884c\u53d6\u504f\u79fb N \u884c\u6570\u636e&#xff0c;\u652f\u6301\u5206\u533a \/ \u6392\u5e8f \/ \u7a7a\u503c\u63a7\u5236<\/td>\n<td>DATEADD\/PREVIOUSMONTH&#xff08;\u65f6\u95f4\u7c7b&#xff09;\u3001FILTER&#043;TOPN&#xff08;\u901a\u7528&#xff09;<\/td>\n<td>1. \u8131\u79bb\u65f6\u95f4\u7ef4\u5ea6\u9650\u5236&#xff0c;\u9002\u914d\u4efb\u610f\u7ef4\u5ea6\u504f\u79fb&#xff1b;2. \u539f\u751f\u652f\u6301\u5206\u533a&#xff08;PARTITIONBY&#xff09;&#xff0c;\u65e0\u9700\u5d4c\u5957ALLEXCEPT&#xff1b;3. \u8bed\u6cd5\u7b80\u6d01&#xff0c;\u51cf\u5c11\u5d4c\u5957\u5c42\u7ea7<\/td>\n<td>\u6027\u80fd\u63d0\u5347 30%-50%&#xff08;\u5927\u6570\u636e\u91cf&#xff09;&#xff1b;\u8bed\u6cd5\u91cf\u51cf\u5c11 60%<\/td>\n<\/tr>\n<tr>\n<td>INDEX<\/td>\n<td>\u9759\u6001\u7edd\u5bf9\u7d22\u5f15&#xff0c;\u57fa\u4e8e\u56fa\u5b9a\u4f4d\u7f6e&#xff08;\u7b2c N \u884c \/ \u6700\u540e\u4e00\u884c&#xff09;\u53d6\u6570&#xff0c;\u53c2\u6570\u4e0eOFFSET\u5b8c\u5168\u517c\u5bb9<\/td>\n<td>FILTER&#043;TOPN&#043;COUNTROWS<\/td>\n<td>1. \u76f4\u63a5\u5b9a\u4f4d\u56fa\u5b9a\u884c&#xff0c;\u65e0\u9700\u8ba1\u7b97\u504f\u79fb&#xff1b;2. \u5206\u533a\u7d22\u5f15&#xff08;\u5982\u6309\u5e74\u53d6\u9996\u884c&#xff09;\u65e0\u9700\u989d\u5916\u903b\u8f91&#xff1b;3. \u652f\u6301-1\u76f4\u63a5\u53d6\u6700\u540e\u4e00\u884c&#xff0c;\u7b80\u5316\u6781\u503c\u67e5\u8be2<\/td>\n<td>\u6027\u80fd\u63d0\u5347 50%&#043;&#xff1b;\u65e0\u9700\u624b\u52a8\u8ba1\u7b97\u884c\u4f4d\u7f6e&#xff0c;\u4e0d\u6613\u51fa\u9519<\/td>\n<\/tr>\n<tr>\n<td>WINDOW<\/td>\n<td>\u81ea\u5b9a\u4e49\u7a97\u53e3\u8303\u56f4&#xff08;\u76f8\u5bf9 \/ \u7edd\u5bf9&#xff09;&#xff0c;\u652f\u6301\u591a\u884c\u5217\u805a\u5408&#xff0c;\u8986\u76d6\u6eda\u52a8 \/ \u7d2f\u8ba1 \/ \u5e15\u7d2f\u6258\u5206\u6790<\/td>\n<td>FILTER&#043;SUMX&#043;EARLIER&#xff08;\u7d2f\u8ba1&#xff09;\u3001TOPN&#043;SUMX&#xff08;\u6eda\u52a8&#xff09;<\/td>\n<td>1. \u539f\u751f\u652f\u6301\u7a97\u53e3\u8303\u56f4\u5b9a\u4e49&#xff0c;\u65e0\u9700\u624b\u52a8\u7b5b\u9009&#xff1b;2. \u652f\u6301ABS\/REL\u53cc\u4f4d\u7f6e\u7c7b\u578b&#xff0c;\u9002\u914d\u6240\u6709\u7a97\u53e3\u573a\u666f&#xff1b;3. \u5206\u533a\u7a97\u53e3\u8ba1\u7b97\u66f4\u7b80\u6d01<\/td>\n<td>\u6027\u80fd\u63d0\u5347 40%-70%&#xff08;\u6570\u636e\u91cf&#xff1e;10 \u4e07\u884c\u65f6\u66f4\u660e\u663e&#xff09;&#xff1b;\u4ee3\u7801\u91cf\u51cf\u5c11 70%<\/td>\n<\/tr>\n<tr>\n<td>RANK<\/td>\n<td>\u7b80\u5316\u7248\u6392\u540d\u51fd\u6570&#xff0c;\u539f\u751f\u652f\u6301\u5206\u533a \/ \u591a\u5b57\u6bb5\u6392\u5e8f \/ \u5e76\u5217\u5904\u7406<\/td>\n<td>RANKX<\/td>\n<td>1. \u65e0\u9700\u624b\u52a8\u6307\u5b9a\u6392\u540d\u6570\u636e\u96c6&#xff0c;\u8bed\u6cd5\u66f4\u7b80\u6d01&#xff1b;2. \u539f\u751f\u652f\u6301PARTITIONBY\u5206\u533a\u6392\u540d&#xff1b;3. \u591a\u5b57\u6bb5\u6392\u540d\u65e0\u9700\u5d4c\u5957CONCATENATEX<\/td>\n<td>\u6027\u80fd\u6301\u5e73&#xff0c;\u4f46\u8bed\u6cd5\u91cf\u51cf\u5c11 50%&#xff0c;\u53ef\u8bfb\u6027\u63d0\u5347<\/td>\n<\/tr>\n<tr>\n<td>ROWNUMBER<\/td>\n<td>\u8fde\u7eed\u884c\u53f7\u751f\u6210&#xff0c;\u652f\u6301\u5206\u533a \/ \u6392\u5e8f&#xff0c;\u65e0\u8df3\u8fc7\u884c\u53f7<\/td>\n<td>COUNTROWS&#043;FILTER&#043;EARLIER<\/td>\n<td>1. \u539f\u751f\u652f\u6301\u5206\u533a\u884c\u53f7&#xff08;\u6bcf\u4e2a\u5206\u533a\u4ece 1 \u5f00\u59cb&#xff09;&#xff1b;2. \u65e0\u9700\u624b\u52a8\u7d2f\u52a0&#xff0c;\u907f\u514d\u4e0a\u4e0b\u6587\u9519\u8bef&#xff1b;3. \u652f\u6301\u591a\u5217\u6392\u5e8f\u751f\u6210\u884c\u53f7<\/td>\n<td>\u6027\u80fd\u63d0\u5347 60%&#043;&#xff1b;\u5f7b\u5e95\u89e3\u51b3\u4f20\u7edf\u884c\u53f7\u7684\u4e0a\u4e0b\u6587\u51b2\u7a81\u95ee\u9898<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e8c\u3001\u57fa\u7840\u6570\u636e&#xff08;2024-2025 \u5e74&#xff0c;\u5b63\u5ea6\u5212\u5206\u7cbe\u51c6&#xff09;<\/h3>\n<h4>1. \u65e5\u5386\u8868&#xff08;Dim Calendar&#xff09;<\/h4>\n<p>\u00a0DAX \u751f\u6210&#xff1a;<\/p>\n<p>Dim Calendar &#061;<br \/>\nADDCOLUMNS(<br \/>\n    CALENDAR(<br \/>\n        DATE( 2024 , 1 , 1 ) , \/\/ \u5f00\u59cb\u65e5\u671f<br \/>\n        DATE( 2025 , 12 , 31 )   \/\/ \u7ed3\u675f\u65e5\u671f<br \/>\n    ),<br \/>\n    &#034;\u5e74\u5ea6&#034; , YEAR( [Date] ) ,<br \/>\n    &#034;\u6708\u4efd&#034; , MONTH( [Date] ) ,<br \/>\n    &#034;\u6708\u4efd\u5e8f\u53f7&#034; , MONTH( [Date] ) ,<br \/>\n    &#034;\u5b63\u5ea6&#034; , &#034;Q&#034; &amp; QUARTER( [Date] ) ,<br \/>\n    &#034;\u5e74\u5ea6\u5b63\u5ea6&#034; , YEAR( [Date] ) &amp; &#034;Q&#034; &amp; QUARTER( [Date] ) ,<br \/>\n    &#034;\u6708\u4efd\u540d\u79f0 CN&#034; ,<br \/>\n    SWITCH(<br \/>\n        MONTH( [Date] ),<br \/>\n        1, &#034;\u4e00\u6708&#034;,<br \/>\n        2, &#034;\u4e8c\u6708&#034;,<br \/>\n        3, &#034;\u4e09\u6708&#034;,<br \/>\n        4, &#034;\u56db\u6708&#034;,<br \/>\n        5, &#034;\u4e94\u6708&#034;,<br \/>\n        6, &#034;\u516d\u6708&#034;,<br \/>\n        7, &#034;\u4e03\u6708&#034;,<br \/>\n        8, &#034;\u516b\u6708&#034;,<br \/>\n        9, &#034;\u4e5d\u6708&#034;,<br \/>\n        10, &#034;\u5341\u6708&#034;,<br \/>\n        11, &#034;\u5341\u4e00\u6708&#034;,<br \/>\n        12, &#034;\u5341\u4e8c\u6708&#034;,<br \/>\n        &#034;\u672a\u77e5\u6708\u4efd&#034;<br \/>\n    )<br \/>\n)<\/p>\n<h4>2. \u9500\u552e\u8868&#xff08;Fact Sales&#xff09;<\/h4>\n<p>\u4fee\u6b63\u540e\u7cbe\u51c6\u6570\u636e&#xff08;\u6309\u81ea\u7136\u6708 \/ \u5b63\u5ea6\u5212\u5206&#xff0c;\u624b\u5de5\u8ba1\u7b97\u53ef\u9a8c\u8bc1&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u65e5\u671f\u4ea7\u54c1\u540d\u79f0\u9500\u552e\u989d\u6210\u672c\u6307\u6807\u4e00\u6307\u6807\u4e8c\u662f\u5426\u8fbe\u6807&#xff08;1 &#061; \u8fbe\u6807 \/ 0 &#061; \u672a\u8fbe\u6807&#xff09;\u5e74\u5ea6\u5b63\u5ea6\u5e74\u5ea6\u5b63\u5ea6<\/tr>\n<tbody>\n<tr>\n<td>2024-01-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>15000<\/td>\n<td>7500<\/td>\n<td>80<\/td>\n<td>90<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-02-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>16000<\/td>\n<td>8000<\/td>\n<td>85<\/td>\n<td>88<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-03-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>17000<\/td>\n<td>8500<\/td>\n<td>85<\/td>\n<td>85<\/td>\n<td>0<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-04-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>18000<\/td>\n<td>9000<\/td>\n<td>90<\/td>\n<td>92<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<tr>\n<td>2024-05-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>19000<\/td>\n<td>9500<\/td>\n<td>90<\/td>\n<td>95<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<tr>\n<td>2024-06-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>20000<\/td>\n<td>10000<\/td>\n<td>90<\/td>\n<td>95<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<tr>\n<td>2024-07-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>21000<\/td>\n<td>10500<\/td>\n<td>92<\/td>\n<td>96<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q3<\/td>\n<td>2024Q3<\/td>\n<\/tr>\n<tr>\n<td>2024-08-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>22000<\/td>\n<td>11000<\/td>\n<td>92<\/td>\n<td>97<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q3<\/td>\n<td>2024Q3<\/td>\n<\/tr>\n<tr>\n<td>2024-09-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>23000<\/td>\n<td>11500<\/td>\n<td>92<\/td>\n<td>98<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q3<\/td>\n<td>2024Q3<\/td>\n<\/tr>\n<tr>\n<td>2024-10-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>24000<\/td>\n<td>12000<\/td>\n<td>95<\/td>\n<td>99<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q4<\/td>\n<td>2024Q4<\/td>\n<\/tr>\n<tr>\n<td>2024-11-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>25000<\/td>\n<td>12500<\/td>\n<td>95<\/td>\n<td>99<\/td>\n<td>0<\/td>\n<td>2024<\/td>\n<td>Q4<\/td>\n<td>2024Q4<\/td>\n<\/tr>\n<tr>\n<td>2024-12-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>26000<\/td>\n<td>13000<\/td>\n<td>95<\/td>\n<td>99<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q4<\/td>\n<td>2024Q4<\/td>\n<\/tr>\n<tr>\n<td>2025-01-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>27000<\/td>\n<td>13500<\/td>\n<td>98<\/td>\n<td>100<\/td>\n<td>1<\/td>\n<td>2025<\/td>\n<td>Q1<\/td>\n<td>2025Q1<\/td>\n<\/tr>\n<tr>\n<td>2025-02-01<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>28000<\/td>\n<td>14000<\/td>\n<td>98<\/td>\n<td>100<\/td>\n<td>0<\/td>\n<td>2025<\/td>\n<td>Q1<\/td>\n<td>2025Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-01-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>8000<\/td>\n<td>4000<\/td>\n<td>70<\/td>\n<td>80<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-02-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>9000<\/td>\n<td>4500<\/td>\n<td>75<\/td>\n<td>82<\/td>\n<td>0<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-03-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>8500<\/td>\n<td>4200<\/td>\n<td>75<\/td>\n<td>81<\/td>\n<td>0<\/td>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>2024Q1<\/td>\n<\/tr>\n<tr>\n<td>2024-04-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>9500<\/td>\n<td>4800<\/td>\n<td>80<\/td>\n<td>85<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<tr>\n<td>2024-05-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>10000<\/td>\n<td>5000<\/td>\n<td>82<\/td>\n<td>86<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<tr>\n<td>2024-06-01<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>10500<\/td>\n<td>5200<\/td>\n<td>82<\/td>\n<td>87<\/td>\n<td>1<\/td>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2024Q2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u5173\u952e\u624b\u5de5\u9a8c\u8bc1\u503c&#xff08;\u5b63\u5ea6\u6c47\u603b&#xff09;<\/h4>\n<table>\n<tr>\u5e74\u5ea6\u5b63\u5ea6\u4ea7\u54c1 A \u9500\u552e\u989d\u4ea7\u54c1 B \u9500\u552e\u989d\u5408\u8ba1\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024Q1<\/td>\n<td>15000&#043;16000&#043;17000&#061;48000<\/td>\n<td>8000&#043;9000&#043;8500&#061;25500<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024Q2<\/td>\n<td>18000&#043;19000&#043;20000&#061;57000<\/td>\n<td>9500&#043;10000&#043;10500&#061;30000<\/td>\n<td>87000<\/td>\n<\/tr>\n<tr>\n<td>2024Q3<\/td>\n<td>21000&#043;22000&#043;23000&#061;66000<\/td>\n<td>&#8211;<\/td>\n<td>66000<\/td>\n<\/tr>\n<tr>\n<td>2024Q4<\/td>\n<td>24000&#043;25000&#043;26000&#061;75000<\/td>\n<td>&#8211;<\/td>\n<td>75000<\/td>\n<\/tr>\n<tr>\n<td>2025Q1<\/td>\n<td>27000&#043;28000&#061;55000&#xff08;\u4ec5 1-2 \u6708&#xff09;<\/td>\n<td>&#8211;<\/td>\n<td>55000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e09\u3001\u7a97\u53e3\u51fd\u6570\u8be6\u7ec6\u89e3\u6790&#xff08;\u4fee\u6b63\u7248\u6848\u4f8b &#043; \u7cbe\u51c6\u9a8c\u8bc1&#xff09;<\/h3>\n<h4>1.1 OFFSET&#xff08;\u52a8\u6001\u67e5\u8be2\u3001\u6c42\u8fde\u7eed\u503c&#xff09;<\/h4>\n<p>OFFSET\u5b8c\u6574\u8bed\u6cd5&#xff1a;<\/p>\n<p>OFFSET(<br \/>\n   delta,\/\/ \u504f\u79fb\u884c\u6570&#xff1a;\u6b63\u503c&#061;\u5f53\u524d\u884c\u540e&#xff0c;\u8d1f\u503c&#061;\u5f53\u524d\u884c\u524d&#xff0c;\u652f\u6301DAX\u8868\u8fbe\u5f0f<br \/>\n   &lt;relation&gt; or &lt;axis&gt;,\/\/ \u53ef\u9009&#xff1a;\u8868\u8868\u8fbe\u5f0f\/\u89c6\u89c9\u8f74&#xff0c;\u9ed8\u8ba4ALLSELECTED(orderBy\/partitionBy\u5217)<br \/>\n   orderBy,  \/\/ \u53ef\u9009&#xff1a;\u6392\u5e8f\u65b9\u5f0f&#xff0c;\u7701\u7565\u5219\u6309relation\u5217\u9ed8\u8ba4\u6392\u5e8f<br \/>\n   blanks,\/\/ \u53ef\u9009&#xff1a;\u7a7a\u503c\u5904\u7406&#xff08;DEFAULT\/FIRST\/LAST&#xff09;<br \/>\n   partitionBy, \/\/ \u53ef\u9009&#xff1a;\u5206\u533a\u4f9d\u636e&#xff0c;\u6309\u6307\u5b9a\u5217\u5206\u533a\u540e\u5404\u81ea\u504f\u79fb<br \/>\n   matchBy,\/\/ \u53ef\u9009&#xff1a;\u5b9a\u4e49\u884c\u5339\u914d\u89c4\u5219&#xff08;\u552f\u4e00\u6807\u8bc6\u884c&#xff09;<br \/>\n   reset\/\/ \u53ef\u9009&#xff1a;\u89c6\u89c9\u8ba1\u7b97\u91cd\u7f6e&#xff08;\u4ec5\u89c6\u89c9\u8f74\u573a\u666f&#xff09;<br \/>\n)<\/p>\n<h5>1.1.1 \u4e0d\u4f7f\u7528 orderBy<\/h5>\n<p>\u6848\u4f8b 1&#xff1a;\u83b7\u53d6\u4e0a\u4e2a\u5b63\u5ea6\u9500\u552e\u989d&#xff08;\u65e0\u5206\u533a&#xff09;<\/p>\n<p>&#8212; \u57fa\u7840\u5ea6\u91cf\u503c&#xff08;\u4fee\u6b63\u7248&#xff09;<br \/>\n\u9500\u552e\u989d &#061; SUM(&#039;Fact Sales&#039;[\u9500\u552e\u989d])<\/p>\n<p>&#8212; OFFSET\u53d6\u4e0a\u5b63\u5ea6\u9500\u552e\u989d&#xff08;\u65e0\u5206\u533a&#xff09;<br \/>\nOFFSET-\u4e0a\u5b63\u5ea6\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    OFFSET(<br \/>\n        -1,\/\/ \u5411\u524d\u504f\u79fb1\u884c<br \/>\n        ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6])\/\/ \u504f\u79fb\u7684\u6570\u636e\u96c6<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5b63\u5ea6\u9500\u552e\u989dOFFSET &#8211; \u4e0a\u5b63\u5ea6\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024Q1<\/td>\n<td>73500<\/td>\n<td>\u7a7a<\/td>\n<\/tr>\n<tr>\n<td>2024Q2<\/td>\n<td>87000<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024Q3<\/td>\n<td>66000<\/td>\n<td>87000<\/td>\n<\/tr>\n<tr>\n<td>2024Q4<\/td>\n<td>75000<\/td>\n<td>66000<\/td>\n<\/tr>\n<tr>\n<td>2025Q1<\/td>\n<td>55000<\/td>\n<td>75000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6848\u4f8b 2&#xff1a;\u6309\u5e74\u5ea6\u5206\u533a\u53d6\u4e0a\u5b63\u5ea6\u9500\u552e\u989d<\/p>\n<p>OFFSET-\u5e74\u5ea6\u5185\u4e0a\u5b63\u5ea6\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    OFFSET(<br \/>\n        -1,<br \/>\n        ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6],&#039;Dim Calendar&#039;[\u5e74\u5ea6]),,,  \/\/ \u7a7a\u51faorderBy\/blanks\u53c2\u6570<br \/>\n        PARTITIONBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6])  \/\/ \u6309\u5e74\u5ea6\u5206\u533a<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff08;\u5e74\u5ea6\u5185\u504f\u79fb&#xff0c;\u8de8\u5e74\u5ea6\u91cd\u7f6e&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5e74\u5ea6\u5b63\u5ea6\u9500\u552e\u989dOFFSET &#8211; \u5e74\u5ea6\u5185\u4e0a\u5b63\u5ea6\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024<\/td>\n<td>2024Q1<\/td>\n<td>73500<\/td>\n<td>\u7a7a<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q2<\/td>\n<td>87000<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q3<\/td>\n<td>66000<\/td>\n<td>87000<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q4<\/td>\n<td>75000<\/td>\n<td>66000<\/td>\n<\/tr>\n<tr>\n<td>2025<\/td>\n<td>2025Q1<\/td>\n<td>55000<\/td>\n<td>\u7a7a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>1.1.2 \u4f7f\u7528 orderBy<\/h5>\n<p>\u6848\u4f8b&#xff1a;\u6309\u6708\u4efd\u5e8f\u53f7\u53d6\u4e0a\u6708\u9500\u552e\u989d<\/p>\n<p>OFFSET-\u4e0a\u6708\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d] ,<br \/>\n    OFFSET(<br \/>\n        -1,  \/\/ \u5411\u524d\u504f\u79fb1\u884c&#xff08;\u4e0a\u6708&#xff09;<br \/>\n        ALLSELECTED( &#039;Dim Calendar&#039;[\u6708\u4efd\u540d\u79f0 CN] , &#039;Dim Calendar&#039;[\u6708\u4efd\u5e8f\u53f7] ),  \/\/ \u6570\u636e\u96c6<br \/>\n        ORDERBY( &#039;Dim Calendar&#039;[\u6708\u4efd\u5e8f\u53f7] , ASC )  \/\/ \u6309\u6708\u4efd\u5e8f\u53f7\u5347\u5e8f\u6392\u5e8f<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff08;2024 \u5e74 1-4 \u6708&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u6708\u4efd\u540d\u79f0 CN\u6708\u4efd\u5e8f\u53f7\u9500\u552e\u989dOFFSET &#8211; \u4e0a\u6708\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>\u4e00\u6708<\/td>\n<td>1<\/td>\n<td>23000<\/td>\n<td>\u7a7a<\/td>\n<\/tr>\n<tr>\n<td>\u4e8c\u6708<\/td>\n<td>2<\/td>\n<td>25000<\/td>\n<td>23000<\/td>\n<\/tr>\n<tr>\n<td>\u4e09\u6708<\/td>\n<td>3<\/td>\n<td>25500<\/td>\n<td>25000<\/td>\n<\/tr>\n<tr>\n<td>\u56db\u6708<\/td>\n<td>4<\/td>\n<td>27500<\/td>\n<td>25500<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>1.1.3 \u7edf\u8ba1\u8fde\u7eed\u503c\u7684\u6700\u5927\u51fa\u73b0\u6b21\u6570&#xff08;\u5f85\u8865\u5145&#xff09;<\/h5>\n<p>\u6848\u4f8b&#xff1a;\u7edf\u8ba1\u4ea7\u54c1 A \u8fde\u7eed\u8fbe\u6807\u7684\u6700\u5927\u6708\u4efd\u6570<\/p>\n<\/p>\n<h4>1.2 INDEX&#xff08;\u9759\u6001\u67e5\u8be2&#xff09;<\/h4>\n<p>INDEX\u5b8c\u6574\u8bed\u6cd5&#xff1a;<\/p>\n<p>INDEX(<br \/>\n   position,\/\/ \u68c0\u7d22\u4f4d\u7f6e&#xff1a;1&#061;\u7b2c\u4e00\u884c&#xff0c;-1&#061;\u6700\u540e\u4e00\u884c&#xff0c;\u8d8a\u754c\u8fd4\u56de\u7a7a\u8868<br \/>\n   &lt;relation&gt; or &lt;axis&gt;,\/\/ \u53ef\u9009&#xff1a;\u8868\u8868\u8fbe\u5f0f\/\u89c6\u89c9\u8f74&#xff0c;\u540cOFFSET<br \/>\n   orderBy,  \/\/ \u53ef\u9009&#xff1a;\u6392\u5e8f\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n   blanks,\/\/ \u53ef\u9009&#xff1a;\u7a7a\u503c\u5904\u7406&#xff0c;\u540cOFFSET<br \/>\n   partitionBy, \/\/ \u53ef\u9009&#xff1a;\u5206\u533a\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n   matchBy,\/\/ \u53ef\u9009&#xff1a;\u884c\u5339\u914d\u89c4\u5219&#xff0c;\u540cOFFSET<br \/>\n   reset\/\/ \u53ef\u9009&#xff1a;\u89c6\u89c9\u8ba1\u7b97\u91cd\u7f6e&#xff0c;\u540cOFFSET<br \/>\n)<\/p>\n<h5>\u6848\u4f8b 1&#xff1a;\u83b7\u53d6\u5168\u8868\u7b2c\u4e00\u5b63\u5ea6\u9500\u552e\u989d&#xff08;\u65e0\u5206\u533a&#xff09;<\/h5>\n<p>INDEX-\u7b2c\u4e00\u5b63\u5ea6\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    INDEX(1,ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6]))  \/\/ \u53d6\u7b2c1\u884c&#xff08;2024Q1&#xff09;<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c&#xff1a;\u65e0\u8bba\u7b5b\u9009\u54ea\u4e2a\u5b63\u5ea6&#xff0c;\u5747\u8fd4\u56de73500&#xff08;2024Q1 \u5408\u8ba1\u9500\u552e\u989d&#xff09;\u3002<\/p>\n<h5>\u6848\u4f8b 2&#xff1a;\u6309\u5e74\u5ea6\u5206\u533a\u83b7\u53d6\u672c\u5e74\u7b2c\u4e00\u5b63\u5ea6\u9500\u552e\u989d<\/h5>\n<p>INDEX-\u5e74\u5ea6\u5185\u7b2c\u4e00\u5b63\u5ea6\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    INDEX(<br \/>\n        1,<br \/>\n        ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6],&#039;Dim Calendar&#039;[\u5e74\u5ea6]),,,<br \/>\n        PARTITIONBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6])  \/\/ \u6309\u5e74\u5ea6\u5206\u533a<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5e74\u5ea6\u5b63\u5ea6INDEX &#8211; \u5e74\u5ea6\u5185\u7b2c\u4e00\u5b63\u5ea6\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024<\/td>\n<td>2024Q1<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q2<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2025<\/td>\n<td>2025Q1<\/td>\n<td>55000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u6848\u4f8b 3&#xff1a;\u53d6\u4ea7\u54c1\u9500\u552e\u989d\u6700\u540e\u4e00\u884c&#xff08;\u6700\u65b0\u6708\u4efd&#xff09;<\/h5>\n<p>INDEX-\u4ea7\u54c1\u6700\u65b0\u9500\u552e\u989d &#061;<br \/>\nVAR AggregatedSingleTable &#061;<br \/>\n    SUMMARIZE(<br \/>\n        \/\/ \u57fa\u7840\u8868&#xff1a;\u4e8b\u5b9e\u8868&#xff08;\u5df2\u4e0e\u65e5\u671f\u8868\u5efa\u7acb\u5173\u8054&#xff09;<br \/>\n        ALLSELECTED(&#039;Fact Sales&#039;),<br \/>\n        \/\/ \u5206\u7ec4\u5b57\u6bb51&#xff1a;\u4ea7\u54c1\u540d\u79f0&#xff08;\u6765\u6e90\u4e8e\u4e8b\u5b9e\u8868&#xff09;<br \/>\n        &#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0],<br \/>\n        \/\/ \u5206\u7ec4\u5b57\u6bb52&#xff1a;\u65e5\u671f&#xff08;\u901a\u8fc7\u8868\u5173\u7cfb\u5173\u8054\u65e5\u671f\u8868&#xff0c;\u7b49\u4ef7\u4fdd\u7559\u65e5\u671f\u8868\u7684\u5916\u90e8\u7b5b\u9009\u6761\u4ef6&#xff09;<br \/>\n        &#039;Dim Calendar&#039;[Date],<br \/>\n        \/\/ \u8ba1\u7b97\u6bcf\u4e2a&#xff08;\u4ea7\u54c1&#043;\u65e5\u671f&#xff09;\u7ec4\u5408\u5bf9\u5e94\u7684\u9500\u552e\u989d<br \/>\n        &#034;ProductDateSales&#034;, CALCULATE(SUM(&#039;Fact Sales&#039;[\u9500\u552e\u989d]))  \/\/ \u76f4\u63a5\u8ba1\u7b97\u907f\u514d\u91cd\u590d\u7b5b\u9009&#xff0c;\u63d0\u5347\u6548\u7387<br \/>\n    )<br \/>\nRETURN<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    INDEX(<br \/>\n        -1,  \/\/ \u9009\u53d6\u6bcf\u7ec4\u4e2d\u65e5\u671f\u6700\u65b0\u7684\u4e00\u884c<br \/>\n        AggregatedSingleTable,  \/\/ \u6570\u636e\u8303\u56f4\u4e3aSUMMARIZE\u751f\u6210\u7684\u5355\u5f20\u805a\u5408\u8868<br \/>\n        ORDERBY(&#039;Dim Calendar&#039;[Date], ASC),<br \/>\n        PARTITIONBY(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0])<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c&#xff1a;<\/p>\n<ul>\n<li>\u4ea7\u54c1 A&#xff1a;28000&#xff08;2025-02&#xff09;<\/li>\n<li>\u4ea7\u54c1 B&#xff1a;10500&#xff08;2024-06&#xff09;<\/li>\n<\/ul>\n<h4>1.3 WINDOW&#xff08;\u6eda\u52a8\u6c42\u548c\u3001\u7d2f\u8ba1\u6c42\u548c\u3001\u5e15\u7d2f\u6258\u5206\u6790&#xff09;<\/h4>\n<p>WINDOW\u5b8c\u6574\u8bed\u6cd5&#xff1a;<\/p>\n<p>WINDOW(<br \/>\n   from[, from_type],\/\/ \u7a97\u53e3\u5f00\u59cb\u4f4d\u7f6e&#043;\u7c7b\u578b&#xff1a;ABS&#061;\u7edd\u5bf9\u4f4d\u7f6e&#xff0c;REL&#061;\u76f8\u5bf9\u4f4d\u7f6e&#xff08;\u9ed8\u8ba4&#xff09;<br \/>\n   to[, to_type],\/\/ \u7a97\u53e3\u7ed3\u675f\u4f4d\u7f6e&#043;\u7c7b\u578b&#xff1a;\u540cfrom_type<br \/>\n   &lt;relation&gt; or &lt;axis&gt;,\/\/ \u53ef\u9009&#xff1a;\u8868\u8868\u8fbe\u5f0f\/\u89c6\u89c9\u8f74&#xff0c;\u540cOFFSET<br \/>\n   &lt;orderBy&gt;,\/\/ \u53ef\u9009&#xff1a;\u6392\u5e8f\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n   &lt;blanks&gt;,\/\/ \u53ef\u9009&#xff1a;\u7a7a\u503c\u5904\u7406&#xff0c;\u540cOFFSET<br \/>\n   &lt;partitionBy&gt;,\/\/ \u53ef\u9009&#xff1a;\u5206\u533a\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n   &lt;matchBy&gt;,\/\/ \u53ef\u9009&#xff1a;\u884c\u5339\u914d\u89c4\u5219&#xff0c;\u540cOFFSET<br \/>\n   &lt;reset&gt;\/\/ \u53ef\u9009&#xff1a;\u89c6\u89c9\u8ba1\u7b97\u91cd\u7f6e&#xff0c;\u540cOFFSET<br \/>\n)<\/p>\n<h5>1.3.1 \u6eda\u52a8\u6c42\u548c\u4e0e\u7d2f\u8ba1\u6c42\u548c<\/h5>\n<p>\u6848\u4f8b 1&#xff1a;\u6eda\u52a8\u6c42\u548c&#xff08;\u8fd1 2 \u4e2a\u5b63\u5ea6\u9500\u552e\u989d\u6c42\u548c&#xff09;<\/p>\n<p>WINDOW-\u8fd12\u5b63\u5ea6\u6eda\u52a8\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    WINDOW(<br \/>\n        -1,REL,  \/\/ \u5f00\u59cb&#xff1a;\u5f53\u524d\u884c\u524d1\u884c&#xff08;REL&#061;\u76f8\u5bf9\u4f4d\u7f6e&#xff09;<br \/>\n        0,REL,   \/\/ \u7ed3\u675f&#xff1a;\u5f53\u524d\u884c<br \/>\n        ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6]),<br \/>\n        ORDERBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6], ASC)<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5b63\u5ea6\u9500\u552e\u989dWINDOW &#8211; \u8fd1 2 \u5b63\u5ea6\u6eda\u52a8\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024Q1<\/td>\n<td>73500<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024Q2<\/td>\n<td>87000<\/td>\n<td>160500&#xff08;73500&#043;87000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2024Q3<\/td>\n<td>66000<\/td>\n<td>153000&#xff08;87000&#043;66000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2024Q4<\/td>\n<td>75000<\/td>\n<td>141000&#xff08;66000&#043;75000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2025Q1<\/td>\n<td>55000<\/td>\n<td>130000&#xff08;75000&#043;55000&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6848\u4f8b 2&#xff1a;\u7d2f\u8ba1\u6c42\u548c&#xff08;\u5e74\u521d\u81f3\u4eca\u9500\u552e\u989d&#xff09;<\/p>\n<p>WINDOW-\u5e74\u521d\u81f3\u4eca\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    WINDOW(<br \/>\n        1,ABS,  \/\/ \u5f00\u59cb&#xff1a;\u5206\u533a\u7b2c1\u884c&#xff08;ABS&#061;\u7edd\u5bf9\u4f4d\u7f6e&#xff09;<br \/>\n        0,REL,  \/\/ \u7ed3\u675f&#xff1a;\u5f53\u524d\u884c<br \/>\n        ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6], &#039;Dim Calendar&#039;[\u5e74\u5ea6]),<br \/>\n        ORDERBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6], ASC),,,<br \/>\n        PARTITIONBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6])  \/\/ \u6309\u5e74\u5ea6\u5206\u533a\u7d2f\u8ba1<br \/>\n    )<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5e74\u5ea6\u5b63\u5ea6\u9500\u552e\u989dWINDOW &#8211; \u5e74\u521d\u81f3\u4eca\u9500\u552e\u989d<\/tr>\n<tbody>\n<tr>\n<td>2024<\/td>\n<td>2024Q1<\/td>\n<td>73500<\/td>\n<td>73500<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q2<\/td>\n<td>87000<\/td>\n<td>160500&#xff08;73500&#043;87000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q3<\/td>\n<td>66000<\/td>\n<td>226500&#xff08;160500&#043;66000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>2024Q4<\/td>\n<td>75000<\/td>\n<td>301500&#xff08;226500&#043;75000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>2025<\/td>\n<td>2025Q1<\/td>\n<td>55000<\/td>\n<td>55000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>1.3.2 \u5e15\u7d2f\u6258\u5206\u6790&#xff08;\u4e8c\u516b\u5b9a\u5f8b&#xff09;<\/h5>\n<p>\u6848\u4f8b&#xff1a;\u4ea7\u54c1\u9500\u552e\u989d\u5e15\u7d2f\u6258\u5206\u6790&#xff08;80% \u9500\u552e\u989d\u5bf9\u5e94\u4ea7\u54c1\u5360\u6bd4&#xff09;<\/p>\n<p>&#8212; \u6b65\u9aa41&#xff1a;\u5355\u4e2a\u4ea7\u54c1\u603b\u9500\u552e\u989d<br \/>\n\u4ea7\u54c1\u9500\u552e\u989d &#061; CALCULATE([\u9500\u552e\u989d], ALLSELECTED(&#039;Dim Calendar&#039;[Date]))<\/p>\n<p>&#8212; \u6b65\u9aa42&#xff1a;\u6240\u6709\u4ea7\u54c1\u603b\u9500\u552e\u989d<br \/>\n\u603b\u9500\u552e\u989d &#061; CALCULATE([\u9500\u552e\u989d], ALL(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]))<\/p>\n<p>&#8212; \u6b65\u9aa43&#xff1a;WINDOW\u8ba1\u7b97\u7d2f\u8ba1\u9500\u552e\u989d&#xff08;\u6309\u9500\u552e\u989d\u964d\u5e8f&#xff09;<br \/>\n\u7d2f\u8ba1\u9500\u552e\u989d &#061;<br \/>\nCALCULATE(<br \/>\n    [\u9500\u552e\u989d],<br \/>\n    WINDOW(<br \/>\n        1,ABS,  \/\/ \u5f00\u59cb&#xff1a;\u7b2c1\u884c&#xff08;\u9500\u552e\u989d\u6700\u9ad8&#xff09;<br \/>\n        0,REL,  \/\/ \u7ed3\u675f&#xff1a;\u5f53\u524d\u884c<br \/>\n        ALLSELECTED(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]),<br \/>\n        ORDERBY([\u4ea7\u54c1\u9500\u552e\u989d], DESC)  \/\/ \u6309\u9500\u552e\u989d\u964d\u5e8f\u6392\u5e8f<br \/>\n    )<br \/>\n)<\/p>\n<p>&#8212; \u6b65\u9aa44&#xff1a;\u7d2f\u8ba1\u9500\u552e\u989d\u5360\u6bd4<br \/>\n\u7d2f\u8ba1\u9500\u552e\u989d\u5360\u6bd4 &#061; DIVIDE([\u7d2f\u8ba1\u9500\u552e\u989d], [\u603b\u9500\u552e\u989d], 0)<\/p>\n<p>&#8212; \u6b65\u9aa45&#xff1a;\u8d21\u732e80%\u9500\u552e\u989d\u7684\u4ea7\u54c1\u5360\u6bd4<br \/>\n80%\u9500\u552e\u989d\u4ea7\u54c1\u5360\u6bd4 &#061;<br \/>\nVAR Pareto80 &#061;<br \/>\nFILTER(<br \/>\n    ALLSELECTED(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]),<br \/>\n    [\u7d2f\u8ba1\u9500\u552e\u989d\u5360\u6bd4] &lt;&#061; 0.8<br \/>\n)<br \/>\nRETURN<br \/>\nDIVIDE(COUNTROWS(Pareto80), COUNTROWS(ALL(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0])), 0)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<ul>\n<li>\u4ea7\u54c1 A \u603b\u9500\u552e\u989d&#xff1a;15000&#043;16000&#043;17000&#043;18000&#043;19000&#043;20000&#043;21000&#043;22000&#043;23000&#043;24000&#043;25000&#043;26000&#043;27000&#043;28000 &#061; 301000<\/li>\n<li>\u4ea7\u54c1 B \u603b\u9500\u552e\u989d&#xff1a;8000&#043;9000&#043;8500&#043;9500&#043;10000&#043;10500 &#061; 55500<\/li>\n<li>\u603b\u9500\u552e\u989d&#xff1a;301000&#043;55500 &#061; 356500<\/li>\n<li>\u4ea7\u54c1 A \u5360\u6bd4&#xff1a;301000\/356500 \u2248 84.43%&#xff08;\u5df2\u8d85 80%&#xff09;<\/li>\n<li>\u6700\u7ec880%\u9500\u552e\u989d\u4ea7\u54c1\u5360\u6bd4\u8fd4\u56de50%&#xff08;\u4ec5\u4ea7\u54c1 A \u5c31\u8986\u76d6 80%&#043; \u9500\u552e\u989d&#xff09;\u3002<\/li>\n<\/ul>\n<h4>1.4 RANK&#xff08;\u591a\u5b57\u6bb5\u6392\u540d \/ \u5206\u533a\u6392\u540d&#xff09;<\/h4>\n<p>RANK\u5b8c\u6574\u8bed\u6cd5&#xff1a;<\/p>\n<p>RANK (<br \/>\n    [&lt;ties&gt;],\/\/ \u53ef\u9009&#xff1a;\u5e76\u5217\u5904\u7406&#xff08;SKIP&#061;\u8df3\u8dc3\u6392\u540d&#xff0c;DENSE&#061;\u8fde\u7eed\u6392\u540d&#xff09;&#xff0c;\u9ed8\u8ba4SKIP<br \/>\n    [&lt;relation&gt; or &lt;axis&gt;],\/\/ \u53ef\u9009&#xff1a;\u8868\u8868\u8fbe\u5f0f\/\u89c6\u89c9\u8f74&#xff0c;\u540cOFFSET<br \/>\n    [&lt;orderBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u6392\u5e8f\u4f9d\u636e&#xff0c;\u652f\u6301\u591a\u5b57\u6bb5<br \/>\n    [&lt;blanks&gt;],\/\/ \u53ef\u9009&#xff1a;\u7a7a\u503c\u5904\u7406&#xff0c;\u540cOFFSET<br \/>\n    [&lt;partitionBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u5206\u533a\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n    [&lt;matchBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u884c\u5339\u914d\u89c4\u5219&#xff0c;\u540cOFFSET<br \/>\n    [&lt;reset&gt;]\/\/ \u53ef\u9009&#xff1a;\u89c6\u89c9\u8ba1\u7b97\u91cd\u7f6e&#xff0c;\u540cOFFSET<br \/>\n)<\/p>\n<h5>\u6848\u4f8b 1&#xff1a;\u591a\u5b57\u6bb5\u6392\u540d&#xff08;\u6307\u6807\u4e00\u964d\u5e8f\u2192\u6307\u6807\u4e8c\u964d\u5e8f&#xff09;<\/h5>\n<p>&#8212; \u57fa\u7840\u5ea6\u91cf\u503c<br \/>\n\u6307\u6807\u4e00\u5408\u8ba1 &#061; SUM(&#039;Fact Sales&#039;[\u6307\u6807\u4e00])<br \/>\n\u6307\u6807\u4e8c\u5408\u8ba1 &#061; SUM(&#039;Fact Sales&#039;[\u6307\u6807\u4e8c])<\/p>\n<p>&#8212; \u591a\u5b57\u6bb5\u6392\u540d<br \/>\n\u591a\u5b57\u6bb5\u6392\u540d &#061;<br \/>\nRANK(<br \/>\n    SKIP,  \/\/ \u5e76\u5217\u8df3\u8dc3\u6392\u540d<br \/>\n    ALLSELECTED(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]),<br \/>\n    ORDERBY([\u6307\u6807\u4e00\u5408\u8ba1], DESC, [\u6307\u6807\u4e8c\u5408\u8ba1], DESC)  \/\/ \u5148\u6307\u6807\u4e00&#xff0c;\u540e\u6307\u6807\u4e8c<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u4ea7\u54c1\u540d\u79f0\u6307\u6807\u4e00\u5408\u8ba1\u6307\u6807\u4e8c\u5408\u8ba1\u591a\u5b57\u6bb5\u6392\u540d<\/tr>\n<tbody>\n<tr>\n<td>\u4ea7\u54c1 A<\/td>\n<td>80&#043;85&#043;85&#043;90&#043;90&#043;90&#043;92&#043;92&#043;92&#043;95&#043;95&#043;95&#043;98&#043;98 &#061; 1267<\/td>\n<td>90&#043;88&#043;85&#043;92&#043;95&#043;95&#043;96&#043;97&#043;98&#043;99&#043;99&#043;99&#043;100&#043;100 &#061; 1323<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>\u4ea7\u54c1 B<\/td>\n<td>70&#043;75&#043;75&#043;80&#043;82&#043;82 &#061; 464<\/td>\n<td>80&#043;82&#043;81&#043;85&#043;86&#043;87 &#061; 501<\/td>\n<td>2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u6848\u4f8b 2&#xff1a;\u5206\u533a\u6392\u540d&#xff08;\u6309\u6708\u4efd\u5206\u533a&#xff0c;\u4ea7\u54c1\u9500\u552e\u989d\u6392\u540d&#xff09;<\/h5>\n<p>\u6708\u5ea6\u4ea7\u54c1\u9500\u552e\u989d\u6392\u540d &#061;<br \/>\nRANK(<br \/>\n    DENSE,  \/\/ \u5e76\u5217\u8fde\u7eed\u6392\u540d<br \/>\n    ALLSELECTED(&#039;Dim Calendar&#039;[\u6708\u4efd], &#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]),<br \/>\n    ORDERBY([\u9500\u552e\u989d], DESC),,,<br \/>\n    PARTITIONBY(&#039;Dim Calendar&#039;[\u6708\u4efd])  \/\/ \u6309\u6708\u4efd\u5206\u533a<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff08;2024 \u5e74 1 \u6708&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u6708\u4efd\u4ea7\u54c1\u540d\u79f0\u9500\u552e\u989d\u6708\u5ea6\u4ea7\u54c1\u9500\u552e\u989d\u6392\u540d<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u4ea7\u54c1 A<\/td>\n<td>15000<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u4ea7\u54c1 B<\/td>\n<td>8000<\/td>\n<td>2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>1.5 ROWNUMBER&#xff08;\u5206\u533a\u884c\u53f7 \/ \u8fde\u7eed\u884c\u53f7&#xff09;<\/h4>\n<p>ROWNUMBER\u5b8c\u6574\u8bed\u6cd5&#xff1a;<\/p>\n<p>ROWNUMBER (<br \/>\n    [&lt;relation&gt; or &lt;axis&gt;],\/\/ \u53ef\u9009&#xff1a;\u8868\u8868\u8fbe\u5f0f\/\u89c6\u89c9\u8f74&#xff0c;\u540cOFFSET<br \/>\n    [&lt;orderBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u6392\u5e8f\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n    [&lt;blanks&gt;],\/\/ \u53ef\u9009&#xff1a;\u7a7a\u503c\u5904\u7406&#xff0c;\u540cOFFSET<br \/>\n    [&lt;partitionBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u5206\u533a\u4f9d\u636e&#xff0c;\u540cOFFSET<br \/>\n    [&lt;matchBy&gt;],\/\/ \u53ef\u9009&#xff1a;\u884c\u5339\u914d\u89c4\u5219&#xff0c;\u540cOFFSET<br \/>\n    [&lt;reset&gt;]\/\/ \u53ef\u9009&#xff1a;\u89c6\u89c9\u8ba1\u7b97\u91cd\u7f6e&#xff0c;\u540cOFFSET<br \/>\n)<\/p>\n<h5>\u6848\u4f8b 1&#xff1a;\u5168\u8868\u8fde\u7eed\u884c\u53f7&#xff08;\u6309\u9500\u552e\u989d\u964d\u5e8f&#xff09;<\/h5>\n<p>\u4ea7\u54c1\u8fde\u7eed\u884c\u53f7 &#061;<br \/>\nROWNUMBER(<br \/>\n    ALLSELECTED(&#039;Fact Sales&#039;[\u4ea7\u54c1\u540d\u79f0]),<br \/>\n    ORDERBY([\u4ea7\u54c1\u9500\u552e\u989d], DESC)<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c&#xff1a;<\/p>\n<ul>\n<li>\u4ea7\u54c1 A \u884c\u53f7&#xff1a;1<\/li>\n<li>\u4ea7\u54c1 B \u884c\u53f7&#xff1a;2<\/li>\n<\/ul>\n<h5>\u6848\u4f8b 2&#xff1a;\u5206\u533a\u884c\u53f7&#xff08;\u6309\u5e74\u5ea6\u5206\u533a&#xff0c;\u5b63\u5ea6\u884c\u53f7&#xff09;<\/h5>\n<p>\u5e74\u5ea6\u5185\u5b63\u5ea6\u884c\u53f7 &#061;<br \/>\nROWNUMBER(<br \/>\n    ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6], &#039;Dim Calendar&#039;[\u5b63\u5ea6]),<br \/>\n    ORDERBY(&#039;Dim Calendar&#039;[\u5b63\u5ea6], ASC),,,<br \/>\n    PARTITIONBY(&#039;Dim Calendar&#039;[\u5e74\u5ea6])<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c\u9a8c\u8bc1&#xff1a;<\/p>\n<table>\n<tr>\u5e74\u5ea6\u5b63\u5ea6\u5e74\u5ea6\u5185\u5b63\u5ea6\u884c\u53f7<\/tr>\n<tbody>\n<tr>\n<td>2024<\/td>\n<td>Q1<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>Q2<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>Q3<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>2024<\/td>\n<td>Q4<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>2025<\/td>\n<td>Q1<\/td>\n<td>1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u6848\u4f8b 3&#xff1a;\u7b5b\u9009\u524d N \u884c&#xff08;\u53d6\u5e74\u5ea6\u5185\u524d 1 \u4e2a\u5b63\u5ea6\u6570\u636e&#xff09;<\/h5>\n<p>\u5e74\u5ea6\u5185\u524d1\u5b63\u5ea6\u6570\u636e &#061;<br \/>\nFILTER(<br \/>\n    ALLSELECTED(&#039;Dim Calendar&#039;[\u5e74\u5ea6\u5b63\u5ea6], &#039;Dim Calendar&#039;[\u5e74\u5ea6]),<br \/>\n    [\u5e74\u5ea6\u5185\u5b63\u5ea6\u884c\u53f7] &lt;&#061; 1<br \/>\n)<\/p>\n<p>\u7cbe\u51c6\u7ed3\u679c&#xff1a;\u4ec5\u8fd4\u56de 2024Q1\u30012025Q1 \u7684\u6570\u636e\u3002<\/p>\n<h3>\u56db\u3001\u6838\u5fc3\u603b\u7ed3<\/h3>\n<li>\u51fd\u6570\u4f7f\u7528\u5173\u952e&#xff1a;\n<ul>\n<li>\u5206\u533a\u8ba1\u7b97\u5fc5\u987b\u5c06\u5206\u533a\u5b57\u6bb5\u52a0\u5165relation\u53c2\u6570&#xff08;\u5982\u5e74\u5ea6\u5206\u533a\u9700\u5305\u542b\u5e74\u5ea6\u5217&#xff09;&#xff1b;<\/li>\n<li>\u65f6\u95f4\u7c7b\u504f\u79fb \/ \u7d22\u5f15\u4f18\u5148\u6309\u6708\u4efd\u5e8f\u53f7\/\u5e74\u5ea6\u5b63\u5ea6\u6392\u5e8f&#xff0c;\u907f\u514d\u4e2d\u6587\u6708\u4efd\u6392\u5e8f\u9519\u8bef&#xff1b;<\/li>\n<li>\u5927\u6570\u636e\u91cf\u573a\u666f\u4e0b&#xff0c;WINDOW\u66ff\u4ee3\u4f20\u7edfFILTER&#043;SUMX\u53ef\u663e\u8457\u63d0\u5347\u6027\u80fd&#xff08;40%-70%&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u30012022  \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4e0e\u4f18\u52bf&#xff08;vs \u4f20\u7edf\u51fd\u6570&#xff09;\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4f20\u7edf\u66ff\u4ee3\u51fd\u6570\u6838\u5fc3\u4f18\u52bf\u6027\u80fd \/ \u6613\u7528\u6027\u5bf9\u6bd4OFFSET\u52a8\u6001\u76f8\u5bf9\u504f\u79fb&#xff0c;\u57fa\u4e8e\u5f53\u524d\u884c\u53d6\u504f\u79fb N \u884c\u6570\u636e&#xff0c;\u652f\u6301\u5206\u533a \/ \u6392\u5e8f \/ \u7a7a\u503c\u63a7\u5236DATEADD\/PREVIOUSMONTH&#xff08;\u65f6\u95f4\u7c7b&#xff09;\u3001FILTERTOPN&#xff08;\u901a\u7528&#xff09;1. \u8131\u79bb\u65f6\u95f4\u7ef4\u5ea6\u9650\u5236&#xff0c;\u9002\u914d\u4efb\u610f\u7ef4\u5ea6\u504f\u79fb&#xff1b;2. \u539f\u751f\u652f\u6301\u5206<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[87,100,43],"topic":[],"class_list":["post-63302","post","type-post","status-publish","format-standard","hentry","category-server","tag-87","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/63302.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u30012022 \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4e0e\u4f18\u52bf&#xff08;vs \u4f20\u7edf\u51fd\u6570&#xff09;\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4f20\u7edf\u66ff\u4ee3\u51fd\u6570\u6838\u5fc3\u4f18\u52bf\u6027\u80fd \/ \u6613\u7528\u6027\u5bf9\u6bd4OFFSET\u52a8\u6001\u76f8\u5bf9\u504f\u79fb&#xff0c;\u57fa\u4e8e\u5f53\u524d\u884c\u53d6\u504f\u79fb N \u884c\u6570\u636e&#xff0c;\u652f\u6301\u5206\u533a \/ \u6392\u5e8f \/ \u7a7a\u503c\u63a7\u5236DATEADD\/PREVIOUSMONTH&#xff08;\u65f6\u95f4\u7c7b&#xff09;\u3001FILTERTOPN&#xff08;\u901a\u7528&#xff09;1. \u8131\u79bb\u65f6\u95f4\u7ef4\u5ea6\u9650\u5236&#xff0c;\u9002\u914d\u4efb\u610f\u7ef4\u5ea6\u504f\u79fb&#xff1b;2. \u539f\u751f\u652f\u6301\u5206\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/63302.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-21T12:16:45+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/63302.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/63302.html\",\"name\":\"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-21T12:16:45+00:00\",\"dateModified\":\"2026-01-21T12:16:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/63302.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/63302.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/63302.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/63302.html","og_locale":"zh_CN","og_type":"article","og_title":"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u30012022 \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4e0e\u4f18\u52bf&#xff08;vs \u4f20\u7edf\u51fd\u6570&#xff09;\u51fd\u6570\u6838\u5fc3\u7279\u70b9\u4f20\u7edf\u66ff\u4ee3\u51fd\u6570\u6838\u5fc3\u4f18\u52bf\u6027\u80fd \/ \u6613\u7528\u6027\u5bf9\u6bd4OFFSET\u52a8\u6001\u76f8\u5bf9\u504f\u79fb&#xff0c;\u57fa\u4e8e\u5f53\u524d\u884c\u53d6\u504f\u79fb N \u884c\u6570\u636e&#xff0c;\u652f\u6301\u5206\u533a \/ \u6392\u5e8f \/ \u7a7a\u503c\u63a7\u5236DATEADD\/PREVIOUSMONTH&#xff08;\u65f6\u95f4\u7c7b&#xff09;\u3001FILTERTOPN&#xff08;\u901a\u7528&#xff09;1. \u8131\u79bb\u65f6\u95f4\u7ef4\u5ea6\u9650\u5236&#xff0c;\u9002\u914d\u4efb\u610f\u7ef4\u5ea6\u504f\u79fb&#xff1b;2. \u539f\u751f\u652f\u6301\u5206","og_url":"https:\/\/www.wsisp.com\/helps\/63302.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-21T12:16:45+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/63302.html","url":"https:\/\/www.wsisp.com\/helps\/63302.html","name":"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-21T12:16:45+00:00","dateModified":"2026-01-21T12:16:45+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/63302.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/63302.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/63302.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Power BI 2022 + \u65b0\u589e\u7a97\u53e3\u51fd\u6570\u89e3\u6790"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/63302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=63302"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/63302\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=63302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=63302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=63302"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=63302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}