- 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
subtracting 100 from each value in another column
i have % increase in one column eg 60%, 80% for various organisations and i want to show the remainder eg 40% and 20% in another so i can show stacked bar charts etc how do i create a column which deducts 100 from each percentage
i tried something like % remaing = 100 - % increase but that didn't work
Any help greatly appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Jay2022
I am glad to help you.
According to your description, you want to calculate the remaining percentage?
If I understand you correctly, then you can refer to my solution.
I created a simple dataset based on your description:
Then use the following DAX formula for New Column in Power BI Desktop:
Remaining Percentage =
1 - [Percentage Increase]
Remember to change the type of the corresponding column to Percentage:
In my tests, this DAX formula works:
You can refer to my steps to test it again and if you still have problems, please provide some sample data in text format (excluding sensitive data) in the form, or even better if you can provide a simplified pbix file. Thanks!
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Jay2022
I am glad to help you.
According to your description, you want to calculate the remaining percentage?
If I understand you correctly, then you can refer to my solution.
I created a simple dataset based on your description:
Then use the following DAX formula for New Column in Power BI Desktop:
Remaining Percentage =
1 - [Percentage Increase]
Remember to change the type of the corresponding column to Percentage:
In my tests, this DAX formula works:
You can refer to my steps to test it again and if you still have problems, please provide some sample data in text format (excluding sensitive data) in the form, or even better if you can provide a simplified pbix file. Thanks!
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-30-2024 07:42 AM | |||
03-22-2024 06:48 AM | |||
10-10-2024 04:55 PM | |||
02-22-2024 10:35 PM | |||
06-21-2022 01:58 PM |
User | Count |
---|---|
14 | |
14 | |
11 | |
11 | |
8 |