Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a dataset that includes goals and multiple options for each goal. Each goal has a target value and each option has an estimate. There is a one to many relationship between goal and option. Trying to figure out how not to repeat the 'Goal Target' for each Option in the simplified matrix below. Basically I want the opposite of Don't Show Subtotals, where I show the Subtotal of 'Goal Target' for each Goal but don't show the lime item for each Option. Putting this under DAX but would welcome data model or visual option solutions.
Can't figure out how to upload a file so...
Solved! Go to Solution.
The May 2024 release of Power BI Desktop contains matrix enhancements including various layout options. Here's a link with details:
https://powerbi.microsoft.com/en-us/blog/power-bi-may-2024-feature-summary/#post-27048-_Toc167109007
Proud to be a Super User!
Hi @tnwcloud
Please try the following measure:
Goal Target =
IF(
NOT(HASONEVALUE('Options'[OptionID])),
CALCULATE(
SUM('Goals'[Target]),
CROSSFILTER('Goals'[GoalID], 'Options'[GoalID], Both)
),
BLANK()
)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tnwcloud
Please try the following measure:
Goal Target =
IF(
NOT(HASONEVALUE('Options'[OptionID])),
CALCULATE(
SUM('Goals'[Target]),
CROSSFILTER('Goals'[GoalID], 'Options'[GoalID], Both)
),
BLANK()
)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The May 2024 release of Power BI Desktop contains matrix enhancements including various layout options. Here's a link with details:
https://powerbi.microsoft.com/en-us/blog/power-bi-may-2024-feature-summary/#post-27048-_Toc167109007
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
14 | |
10 | |
9 | |
6 |