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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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

Hi Anonymous, 

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

 

Thanks in advance.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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