Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Good day,
I've used other BI tools but am relatively new to Power BI. Here's my challenge.
I created a lookup table that can be used in the calculation.
Elementary Attendance Days Absent Range
Here's the DAX expression I'm trying to use. Note that [Elementary Attendance Students] is a distinct count of student numbers.
Days Absent Range =
VAR AgeRangeDimension = VALUES('D: Student'[OEN])
RETURN
CALCULATE ([Elementary Attendance Students],
FILTER ( AgeRangeDimension,
COUNTROWS(
FILTER('Elementary Attendance Days Absent Range',
RANKX( ALL ('D: Student'[OEN] ), 'M: Elementary Attendance'[Days Absent], , DESC ) > 'Elementary Attendance Days Absent Range'[Min Days]
&& RANKX(ALL ('D: Student'[OEN] ), 'M: Elementary Attendance'[Days Absent], , DESC ) <= 'Elementary Attendance Days Absent Range'[Max Days] ) ) > 0
)
)When I use this column in a dashboard, I just get the value of large number which I beliegve is just summing all of the stduents. Here are the questions that I'm hoping you can help with.
Thanks a lot for your help;
Dave
Solved! Go to Solution.
You may refer to the following post.
https://community.powerbi.com/t5/Desktop/Create-a-bar-graph-with-measures-as-axis/td-p/455900
You may refer to the following post.
https://community.powerbi.com/t5/Desktop/Create-a-bar-graph-with-measures-as-axis/td-p/455900
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |