Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

bar bart not displaying as expected

Hello Power BI Power Users,

 

I have what seems to me like a simple problem.

 

X-Axis : Hours 0 - 7.5 in decimal form. There are some hours in .5 increments

Y-Axis: Count of Students...I use Student IDs

Filtered by 1st six weeks sessions

 

DAX used: 

Tutor Time in Hours = ROUND(SUM('Tutorial Log_Long'[30-minute Sessions]) *.5,1)
 
Columns Used:
Student ID: ID for every student
Grouped Six week sessions: Grouped sessions to creat 1st six weeks, 2nd six weeks, 3rd six weeks
 
Here is my ouptut
quipmaster_0-1678896066179.png

 

 

 In the matrix below, I would like to create a bar chart that shows x-axis: first six weeks sessions hours 0 -7.5 and count of student IDs in Y-axis.

 

For example: 4 students at 7.5 hours, 6 students at 7 hours, etc.

quipmaster_1-1678896182908.png

 

Any nudge is greatly appreciated.

3 REPLIES 3
Anonymous
Not applicable

 

 

I think I found something that will help.

 

This table made me realize what I want.

 

For example, for this student , I would like to aggregate three hours of tutoring. However, the bar graph will max out for this student at 1 hour.

quipmaster_0-1678922904113.png

 

quipmaster_1-1678923198787.png

 

I think my aggregation is wrong. 

Total Hours = ('Tutorial Log_Long'[30-minute Sessions]*.5)
 
I need the nudge in the calculated table.
 
Appreciate any nudge.
 

 

amitchandak
Super User
Super User

@Anonymous , you can only add sparklines as of now

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-sparklines-tables

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ,

 

Thank you for your reply.

 

Here is a little more context I neglected in my original post. 

 

I can make the expected bar chart using wide data.

 

quipmaster_0-1678922280426.png

 

However, when I use long data, I do not achieve the same visual.

 

quipmaster_1-1678922463334.png

I've gotten closer by creating a calculated column. 

Total Hours = ('Tutorial Log_Long'[30-minute Sessions]*.5)
 
Maybe my question should be, am I using the correct calculated measure or column?
 
I would like to display the total hours in decimal form.
 
I would like to use long data because I use it in the rest of my dashboard. 
 
Let me know if what I am saying makes any sense.
 
Appreciate the nudge.
 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors