Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
My dims are Datetime, Zone, Macrozone (aggregation of zones) and type, as shown below:
I need to analyze different aggregations of absolute values:
- per macrozone (absolute of the value aggregated per hour and macrozone)
- per zone (absolute of the value aggregated per hour and zone)
- per zone and type (absolute of the value detailed per type and zone)
The fact is that I need to repeat the same calculation on a similar column of corrected values, therefore my columns are increasing too much.
I'm creating summarized table for each different aggregation with a calculated column of absolute value (or distinguishing negative and positive).
Is it possible to build a single measure that allows me to display the different value according to the context given by the visuals? Sumx(abs(value)) would just work for the maximum detail (Macrozone/zone/type): as soon as I drill up (let's say simple zonal view) it would give a wrong result, since it would give the sum of the absolute values of the different types (instead of making the absolute value of the sum of them).
Similarly Abs(sumx(value)) would put all the hours together, while I need to consider the absolute value of each hour.
I'm attaching a sample pbix. Sample pbix
thanks a lot!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |