Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I am trying to show the count of specific observations as a percentage of the total observations made. My solution below works great but as soon as I add a datestamp slicer to the page, where I now want to see the percentage of specific responses made within a specific date range, the percentages no longer correspond.
This is the calculated measure:
%Observation =
DIVIDE(
COUNT(Sheet1[Observation]),
CALCULATE(
COUNT(Sheet1[Observation]),ALL(Sheet1[Observation])
)
)
So when I place a card visual with %Observation and filter for "Too Cold" which in the sample below is 4 out of 12 observations my card shows %33.33, Great
But once I add datestamp slicer and change the date range a little, the percentages do not make sense.
Sample data:
| Observation | Datestamp | Screen | Location |
| Too Cold | 3/1/2023 | Thermal Comfort | A |
| Too Hot | 3/2/2023 | Thermal Comfort | B |
| Too Hot | 3/1/2023 | Thermal Comfort | C |
| Too Cold | 3/1/2023 | Thermal Comfort | A |
| Too Cold | 3/20/2023 | Thermal Comfort | A |
| Too Cold | 2/21/2023 | Thermal Comfort | B |
| Comfortable | 2/21/2023 | Thermal Comfort | C |
| Comfortable | 2/20/2023 | Thermal Comfort | C |
| Comfortable | 2/20/2023 | Thermal Comfort | C |
| Comfortable | 3/2/2023 | Thermal Comfort | A |
| Comfortable | 3/2/2023 | Thermal Comfort | A |
| Comfortable | 3/3/2023 | Thermal Comfort | B |
Solved! Go to Solution.
Hi,
Check this file.
Hi,
Check this file.
Ashish, creating a new table with a continuous calendar resolved the issue. Thank you for providing the sample file.
You are welcome.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 28 | |
| 27 |