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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
elinevans
Helper I
Helper I

Values different on table/graph visuals

I'm trying to figure out the % of sessions that clients have missed. When calculating this in a table the results are correct, but when I put it in a graph visual it states the precentage a lot lower just on the month of feburary. I've found out that this is due to 3 sessions on the 28th of Feb not being included in the calculation. Can someone please advise? The data type is time/date, I can't change this to just date as I need the time to be referenced elsewhere on the dashboard.

elinevans_1-1653308462763.png

 

elinevans_0-1653308415129.png

 

3 REPLIES 3
elinevans
Helper I
Helper I

When in the table visual it shows the activities that occured on the 28th Feb, but when I look at the 'raw' data nothing comes up when the table is filtered to the 28th feb. I'm very confused and feel I'm going insane

elinevans
Helper I
Helper I

%FirstSessionDNA = divide([CountDNAFirstSessions], [CountAllFirstSessions])
 
CountAllFirstSessions = CALCULATE(count(Sessions2[Reference]),FILTER(Sessions2, Sessions2[Start] <=max(DateTable[Date]) && Sessions2[Start] >= min(DateTable[Date]) && Sessions2[FirstSession]=1))
 
CountDNAFirstSessions = CALCULATE(count(Sessions2[Reference]), filter(Sessions2, Sessions2[SessionOutcome] = "Did Not Attend (DNA)"),FILTER(Sessions2, Sessions2[Start] <=max(DateTable[Date]) && Sessions2[Start] >= min(DateTable[Date]) && Sessions2[FirstSession]=1))
 
 
 
Where Sessions2[FirstSession]=1 just incidcates that it's the first session per client. And the DateTable is just a calendar table which is used on a slicer. 
 
Unfortunately it's really hard to give the exact data as it has a lot of sensitive data however it's in the following format:
Client IDRefernceStartFirstSessionSession outcome
123415275687302/02/22 15:001Did not attend (DNA)
1234272348705/02/2022 17:000Attended
859473545965456406/05/20211Attended
Greg_Deckler
Community Champion
Community Champion

@elinevans Can you share your formula for your % and are you able to share sample data?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.