Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Experts
I want to calculate the Sale for each period as a value of the total sales by Channel by Region by County by Month. I need a Calculated Column....
Sample Data
Channel | Region | Month | Year | Country | Sales |
OOO | EMEA | Jan | 2020 | Farnce | 2227 |
OOO | EMEA | Feb | 2020 | Farnce | 2054 |
OOO | EMEA | Mar | 2020 | Farnce | 1830 |
OOO | EMEA | Apr | 2020 | Farnce | 1292 |
OOO | EMEA | May | 2020 | Farnce | 2325 |
OOO | EMEA | Jun | 2020 | Farnce | 1918 |
OOO | EMEA | Jul | 2020 | Farnce | 1905 |
OOO | EMEA | Aug | 2020 | Farnce | 1507 |
OOO | EMEA | Sep | 2020 | Farnce | 2093 |
OOO | EMEA | Oct | 2020 | Farnce | 2286 |
OOO | EMEA | Nov | 2020 | Farnce | 2310 |
OOO | EMEA | Dec | 2020 | Farnce | 1643 |
23390 |
Solved! Go to Solution.
@Anonymous
please kindly check
Proud to be a Super User!
@Anonymous
what's your expected output?
Proud to be a Super User!
Using the above sample data. then for Jan 2227/23390 = 0.095212... i want the calculated column measure to into account where we have mulitple regions and channels Per Month
Hi, @Anonymous
Please try the below-calculated column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@Anonymous
you can try to create a column like this
Column = 'Table'[Sales]/CALCULATE(sum('Table'[Sales]),ALLEXCEPT('Table','Table'[Channel],'Table'[Region],'Table'[Year],'Table'[Country]))
Proud to be a Super User!
Hi ryan....
Would the above accomdate for the following situation too
@Anonymous
Column = CALCULATE(sum('Table'[Sales]),ALLEXCEPT('Table','Table'[Channel],'Table'[Region],'Table'[Year],'Table'[Country],'Table'[Month]))/CALCULATE(sum('Table'[Sales]),ALLEXCEPT('Table','Table'[Channel],'Table'[Region],'Table'[Year],'Table'[Country]))
you can try this
Proud to be a Super User!
Hi Ryan, Thanks. What results do you get in your table - my internet is down at the moment, using mobile to post.
@Anonymous
please kindly check
Proud to be a Super User!
Hi Ryan Part 2 to the question if you are interested?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |