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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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