Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I know this is a very simple thing but after 2 days of trying everything to no avail, I'm not sure what I'm doing wrong.
I have an AWARD table that contains a part number, Award Qty and Award Status (which is a measure - see below).
Out of many other measures I tried, I thought this one would work, but it doesn't:
Solved! Go to Solution.
I was able to reproduce your scenario and believe this approach will work. Please try the following
Make a new measure like this one using your slicer table[column] instead
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please try this expression instead
Award Disposition =
VAR SelectedDisposition =
SELECTEDVALUE ( 'Award Disposition'[Award Disposition] )
RETURN
CALCULATE (
[Total Award Qty],
FILTER ( VALUES ( PBI_Awards[Part Number] ), [Award Status] = SelectedDisposition )
)
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Mahoneypat,
I tried your measure and unfortunately it did not work. I still got a blank column as a result.
The other thing that occurred to me when I was looking at both your measure and mine is that I'm NOT trying to return a sum of the Award Qty with this measure. I want to return the Award Disposition that MATCHES the Award Status. Here's what I mean (in Excel):
If I can achieve that, then I can remove the Award Status column and use Award Disposition to filter.
Rose
I was able to reproduce your scenario and believe this approach will work. Please try the following
Make a new measure like this one using your slicer table[column] instead
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Mahoneypat,
Thank you so much! That did the trick!
Rose
Hi @Roseventura,
I think you have to connect the Award Disposition table (see figure). Create the slicer from Award Status. It filters your Awards as expected.
Regards FrankAT
Hi,
Thanks for your response, but I cannot join Award Dispostition table with the Awards table because the Award Status is a measure.
Rose
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
34 |
User | Count |
---|---|
95 | |
78 | |
52 | |
49 | |
47 |