- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting the same total value for each category
Hi Experts,
I am facing issue with one of the measure,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
yes. it will give you the value by applying ALLEXCEPT().
can you pls show case by taking normal table and add all the product columns and targetmoney_base and check share screenshot what value do you need against which product value.???
You can do the same thing in excel just random data with all level of hierarchy and show wht data you want to show again each category.
share input and expected output..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Example: I have a table with opportunityProduct and have the A_productfamily, B_productfamily,C_productfamily& D_productfamily as categories and i want to map all the above categories files to my Target value. to get the right values for each product family i tried with All EXCEPT function, which is not working in my DAX logix.
Please suggest.
Note: Target value is a measure from a goal table which is not have an direct relationship with OpportunityProduct table.
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous ,
Does the goal table have a field corresponding to “A_productfamily”, “B_productfamily”, “C_productfamily ” & ‘D_productfamily’?
If so, try something like this.
Target_V =
CALCULATE (
SUM ( 'goal'[targetmoney_base] ),
'goal'[productfamilyfield]
= SELECTEDVALUE ( 'opportunityproduct'[productfamilylevelaname] )
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - January 2025
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
Subject | Author | Posted | |
---|---|---|---|
07-10-2024 01:48 AM | |||
04-17-2023 09:44 PM | |||
04-26-2024 05:24 AM | |||
08-18-2023 02:04 PM | |||
03-26-2024 09:53 AM |
User | Count |
---|---|
121 | |
80 | |
47 | |
45 | |
32 |
User | Count |
---|---|
174 | |
90 | |
69 | |
47 | |
46 |