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.
In my table, X-High, High, Medium and Low are all measures. Total is just a measure summing the previous 4 measures. All-running total is the running total for the first 4 measures, while X-high + high running total is just the running total for X-high + high.
Is there a way of displaying the final value (21 & 10) for both "all running total" and "x-high + high running total" on a card like so......
Here are the running total measures if it helps
All Running Total = SUMX ( FILTER ( ALLSELECTED ( 'Date'[Date] ), 'Date'[Date] <= SELECTEDVALUE ( 'Date'[Date] ) ), 'Report Measures'[Total] )
X-High + High Running Total = SUMX ( FILTER ( ALLSELECTED ( 'Date'[Date] ), 'Date'[Date] <= SELECTEDVALUE ( 'Date'[Date] ) ), 'Report Measures'[High] + 'Report Measures'[X-High] )
Solved! Go to Solution.
Ok. I managed to figure out a halfway solution. If I use a bar chart and change to a date hierarchy, I get the result that I want.
BTW, how do i upload an image in the reply? I entered the url for the image, and it just gves an "X". and there's no option in "insert/edit image" to scan my PC for the picture.
Ok. I managed to figure out a halfway solution. If I use a bar chart and change to a date hierarchy, I get the result that I want.
BTW, how do i upload an image in the reply? I entered the url for the image, and it just gves an "X". and there's no option in "insert/edit image" to scan my PC for the picture.
Hi @eddd83
Try changing
SELECTEDVALUE ( 'Date'[Date] )
for
MAX ( 'Date'[Date] )
in both measures. SELECTEDVALUE will by default return NULL when more than one date is present in the filter context. You could also do:
SELECTEDVALUE ( 'Date'[Date] , MAX ( 'Date'[Date] ) )
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 |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
93 | |
59 | |
56 | |
49 | |
41 |