- 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
Dax to divide 2 columns based on fixed values
Hello Enthusiasts
I have a below input table
Bucket TOS Bucket LM TOS LM
B1 1 B0 3
B1 2 B0 4
B1 3 B1 5
B2 4 B1 6
B2 5 B2 7
B3 6 B3 8
I need the below Output table
Bucket %
B1. 0.85 ( sum of TOS for bucket B1(1+2+3=6)/sum of TOS LM FOR bucket lm B0(3+4=7)
B2. 0.81 ( sum of TOS for bucket B2(4+5=9)/sum of TOS LM FOR bucket lm B1(5+6=7)
B3. 0.86 ( sum of TOS for bucket B3(6)/sum of TOS LM FOR bucket lm B2(3+4=7)
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pattren appears to be Bucket Total divided by Bucket -1 Total.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pattren appears to be Bucket Total divided by Bucket -1 Total.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @SamWiseOwl
I have another requirement based on this query
Now I am having only 3 columns
Month bucket TOS
Oct. B1. 7
Oct. B2. 8
Oct. B3. 9
Nov. B1. 4
Nov. B2. 5
Nov. B3. 6
Dec. B1. 7
Dec. B2. 8
Dec. B3. 9
I want output as sum of tos for this month this bucket/ sum of tos for last month last bucket
For example Sum of tos for B2 Nov/ Sum of TOS for B1 Oct = 5/7=0.71
Can you please try a dax measure for the above problem
Let if know if you need more explanation
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This works wonders,
Thanks alot Sam for your attention to my query and prompt solution

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
11-13-2023 11:38 PM | |||
11-21-2023 08:06 AM | |||
12-19-2023 02:07 AM | |||
08-02-2024 11:49 AM | |||
04-05-2024 07:02 AM |