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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.