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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors