Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I have a Resource table which is connected to facts booking table and Date Table. Need to create a button called "Clear Specialist data". I want to have a button in the report to remove data for Resource names starting with "* Speacialist" . And other button to bring the data back to the report. Let me know how to achieve this possibility in all the paginated reports. I tried with appying filter for all the pages but I need this option made easy for end users with a simple button click. Please let me know the possible ways. This is my sample model.
Solved! Go to Solution.
I have tried a work around with creating a calculated column with fileds to show unassigned and not unassigned and filter on the visual to show the appropriate check box in order to filter the resource names. Thank yo very much for your detailed steps
Thanks for the reply. Measure has been created but I need change as below it seems.
IsUnassigned = IF(MAXX(FILTER('resource', SEARCH("* Unassigned", 'resource'[name], 1, 0) > 0), 1), 1, 0)
Then when I have selected button in the visualization pane I cannot see options Values to add the measure. I am getting blank as below.
Please let me know work aroud this step. Thanking you
t seems like you're trying to create a measure that checks if a resource name contains "* Unassigned". The DAX measure you provided is correct for that purpose.
However, if you are not able to see the measure in the "Values" field when adding the button in the visualization pane, it could be due to a few reasons. Here's a step-by-step guide on how to add a button with the measure:
IsUnassigned = IF(MAXX(FILTER('Resource', SEARCH("* Unassigned", 'Resource'[Name], 1, 0) > 0), 1), 1, 0)
Click on the text box/button to see if it toggles between showing and hiding the Unassigned data.
If you're still having trouble, double-check that the measure is created in the correct table ('Resource' table in this case) and is visible in the "Fields" pane. Also, ensure that your button is correctly configured to use the measure. If you encounter any issues, feel free to provide more details, and I'll be happy to assist further.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
Thanks for the detailed steps again. For the third step I could not see values in visualization pane for text box and in format pane i could not see the Action option too. Below are the screen shots.
But if i gave the measure in the value as shown below I am getting 1 as display. If that is what you mean to set the ction for this textbox as I could not see any Action in the Format option.
I have tried a work around with creating a calculated column with fileds to show unassigned and not unassigned and filter on the visual to show the appropriate check box in order to filter the resource names. Thank yo very much for your detailed steps
To achieve this in Power BI, you can use a combination of measures, buttons, and bookmarks. Here's a step-by-step guide:
Create a Measure to Identify Specialist Data:
IsSpecialist = IF(SEARCH("* Specialist", 'Resource'[Resource Name], 1, 0) > 0, 1, 0)
Create a Button to Hide Specialist Data:
Create a Bookmark to Hide Specialist Data:
Create a Button to Show All Data:
Create a Bookmark to Show All Data:
Add Actions to Buttons:
Test Your Buttons:
Add Buttons to All Pages:
By following these steps, you should be able to create a paginated report in Power BI with buttons that allow end-users to easily hide and show data based on your specified conditions.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
59 | |
20 | |
12 | |
11 | |
10 |