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.
Hi,
I have a table that contains data for the entire Factory as a whole and broken up into different Areas.
On my combo chart I have a bar that displays the Total Value for either a selected area (I'm using a slicer) or the Total Value for ALL areas (Factory) if nothing is selected in the slicer.
Each area has a Target % that I use to determine the Target Value (see picture of sample data below).
Target Value = (Total Value * Target %)
This works great when the user is selected on a specific area.
The problem is that when I want to see the correct target value for the Factory as a whole, Power BI uses the aggregated percentage of all areas to determine the target % thus the target value. I want the target % for the factory to be defaulted to 5% when nothing is selected.
I hope I explained this well enough to make sense. Not sure if anyone has any tips for me to accomplish this.
Edit: Here is my attempt:
Thank you,
- Justin
Hi @Justair07
You may have a look at this article about HASONEVALUE vs. ISFILTERED vs. HASONEFILTER functions and ISINSCOPE function.If you need further help,sample data and expected output will be helpful to provide an accurate solution.You can upload the .pbix file to OneDrive and post the link here. Do mask sensitive data before uploading.
Regards,
Cherie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |