Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to get numbers for quarters. I have a column that undicates return ratios. Return Ratio=Return Items/Originated Items.
I have made a new column named 'Column' to get row wise return ratios. However now I want quarter calculation but Power BI is summing up for months.
Solved! Go to Solution.
Hi @Greg_Deckler ! I was able to solve the problem. I made a new measure with following formula :
Hi @Greg_Deckler ! I was able to solve the problem. I made a new measure with following formula :
@nishthabhakta I think I see your problem, you are missing the YEAR function for your __Year VAR.
@Greg_Deckler Hey greg! Still some issue with the number. If I sum up the Originated Items for Quarter 1 of 2021 it is 1258751 and sum of quarter 1 2021 return items come up to 37034. When we divide 37034/1258751 the number we get is 0.0294. Also if I plug the new column in a visual, it is still summing up the rows
@nishthabhakta You can solve the summing problem by doing an average instead of a sum. Or use a Quarter column and a measure like in the attached file below signature. Don't ever use the auto date hierarchy. Not sure if that is the issue but bad. I checked my column calculation against a simple measure and they both return the same result. See file. You want 'Table7'. The Measure 4 by Quarter visual on the Page 1.
@nishthabhakta Maybe:
Quarter Ratio Column =
VAR __Year = YEAR([Date])
VAR __Quarter = QUARTER([Date])
VAR __Table = FILTER('Table',YEAR([Date])=__Year && QUARTER([Date])=__Quarter)
RETURN
DIVIDE(SUMX(__Table,[ReturnItem]),SUMX(__Table,[Originated]),0)
Thanks! I will try this one
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |