Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
yurishiraishi
New Member

スライサーの機能について【至急】

■やりたいこと

Power BI のマトリックスに「諸費用」という大項目があり、その中に「損害保険」「公正証書手数料」「開発工事費用」「設計費」などの小項目が存在します。

スライサーでこの諸費用の小項目を選択し、マトリックスの「諸費用」行の金額表示を以下のように制御したいと考えています。

・小項目が未選択の場合→ マトリックスの「諸費用」行は空白

・小項目を1つ以上選択した場合→ 選択した小項目の合計金額を「諸費用」行に表示

・小項目をすべて選択した場合→ 「諸費用」全体の合計金額を表示

また、
「賃料」「地代」「収入計」など、諸費用以外の行はスライサーの影響を受けず、通常の金額を表示したいです。

 

■現在のデータ構造

テーブル:合算リスト
列:
・項目(例:賃料、地代、諸費用など)
・小項目(例:損害保険、公正証書手数料、開発工事費用など)
・金額

マトリックス:
行 → 項目マスタ[項目]
値 → 合算リスト[金額]

スライサー:
諸費用選択[小項目]

 

■現在の問題

Power BI のスライサーは「未選択」と「全選択」がどちらもフィルターなし扱いになるため、

・未選択 → 空白
・全選択 → 合計

のように区別したい要件を DAX で判定することができず、意図した表示制御ができません。

このような要件を Power BI で実装する方法があるかご教示いただけますでしょうか。

 

未選択時は空白、全選択では合計値とすることはスライサーで実際に実現できますか。

現状うまくいってません。

1 ACCEPTED SOLUTION
v-kpoloju-msft
Community Support
Community Support

Hi @yurishiraishi,

Thank you for reaching out to the Microsoft Fabric Community Forum. I reproduced the scenario, and it worked on my end. I used it as sample data and successfully implemented it.

outcome:

vkpolojumsft_0-1774247975566.png

 

I am also including .pbix file for your better understanding, please have a look into it.

Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.
Thank you for using the Microsoft Fabric Community Forum

View solution in original post

4 REPLIES 4
v-kpoloju-msft
Community Support
Community Support

Hi @yurishiraishi,

Thank you for reaching out to the Microsoft Fabric Community Forum. I reproduced the scenario, and it worked on my end. I used it as sample data and successfully implemented it.

outcome:

vkpolojumsft_0-1774247975566.png

 

I am also including .pbix file for your better understanding, please have a look into it.

Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.
Thank you for using the Microsoft Fabric Community Forum

Hi @yurishiraishi

Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.

Thank you.

Hi @yurishiraishi

Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.

Thank you.

ryan_mayu
Super User
Super User

@yurishiraishi 

could you pls provide some sample data and expected output. It will be better if the sample data is in English.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.