Related topics
×
認識 Power Query
Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
認識 Power Query

建立條件欄

您的瀏覽器不支援影片。

條件欄會計算公式中的值。 在 Power Query 中,使用的術語是自訂資料行。 本節將針對所有銷售額超過 $25,000 建立 2.5% 的獎勵計算。 若要這麼做,請于 Power Query 的公式建立器中撰寫公式。 Power Query 公式與 Excel 公式類似。

  1. 選取 新增欄 > 自訂欄

  2. 在新增欄名文字方塊中 輸入「 獎勵」。

  3. 若要輸入自訂公式,請在等號右邊的自訂欄公式區段輸入

    If Total Sales > 25,000 then Total Sales * 0.025 else 0.

    提示  若要避免輸入表格名稱,請從 [可用欄清單> 按兩下 您想要的名稱

    附注  檢查自訂公式窗格底部是否有來自 Power Query 的郵件,查看您是否成功或公式是否有問題。 有關 Power Query 公式的詳細資訊,請選取 [自訂資料行」對話方塊底部的連結。

  4. 若要將轉換後的資料返回 Excel 工作表,請 選取首頁 > 關閉&載入

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×