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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

On the fly Calculation on basis of selected button/filter .

Hi,

 

I'm trying to cal. % on basis on selection of buttons/filter on the screen.
I've  8  buttons/filter on screen in pair of 2 and user can select only 1 button/filter from the pair. Suppose user select button/filter "A" from pair 1,  "D" from pair 2, "F" from pair 3 and "G" from pair 4. Now, I want to check for the rows where 1 is present in all selected column as in "Flag" column and finally will calculate count of 1 in flag column by total rows. 

 

1. Is it possible to create in power bi.

 

Capture1.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Here is my solution. PBIX File attached as well.

Buttons anf filters.gif

 

Enjoy!
A

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

Please provide sample data that can be copied and pasted or a PBIX file.

Thanks,

A

Anonymous
Not applicable

Sample File (Excel)

https://gofile.io/?c=ecGlqx

Anonymous
Not applicable

Hi @Anonymous 

Here is my solution. PBIX File attached as well.

Buttons anf filters.gif

 

Enjoy!
A

Anonymous
Not applicable

Hi Anonymous, 

could you please share the file once again? It is not available any longer.

 

Thanks in advance.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors