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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DannyAlfa
Frequent Visitor

Missing Data (Time)

Hi all,

 

I have appended a data set using 2 files with exactly the same columns, data is pulling through as I can see it has updated revenue/sales etc however I have a table that provides a view of timings, I can see timings in the table until it gets to the data where the new apended data began.

 

I have checked the measures im using and they havent changed and also checked the data format in both data sets and they are identical, any ideas what could be causing the issue??

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @DannyAlfa ,

 

Thanks Thejeswar  for the quick reply. I have some other thoughts to add:

(1) There is a hotel name column in your expected results that does not exist in your data, where I have added the hotel name column to the test data.

vtangjiemsft_2-1729836306710.png

 


(2) Create a time column.

Time = TIMEVALUE([Date])

vtangjiemsft_0-1729836220915.png

(3)Create measures.

Min time = CALCULATE(MIN('Table'[Time]),FILTER(ALL('Table'),'Table'[Hotel Name]=MAX('Table'[Hotel Name]))) 
Max time = CALCULATE(MAX('Table'[Time]),FILTER(ALL('Table'),'Table'[Hotel Name]=MAX('Table'[Hotel Name])))  

vtangjiemsft_1-1729836281808.png

 

If I have misunderstood you, please clarify in a follow-up reply. 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @DannyAlfa ,

 

Thanks Thejeswar  for the quick reply. I have some other thoughts to add:

(1) There is a hotel name column in your expected results that does not exist in your data, where I have added the hotel name column to the test data.

vtangjiemsft_2-1729836306710.png

 


(2) Create a time column.

Time = TIMEVALUE([Date])

vtangjiemsft_0-1729836220915.png

(3)Create measures.

Min time = CALCULATE(MIN('Table'[Time]),FILTER(ALL('Table'),'Table'[Hotel Name]=MAX('Table'[Hotel Name]))) 
Max time = CALCULATE(MAX('Table'[Time]),FILTER(ALL('Table'),'Table'[Hotel Name]=MAX('Table'[Hotel Name])))  

vtangjiemsft_1-1729836281808.png

 

If I have misunderstood you, please clarify in a follow-up reply. 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Thejeswar
Super User
Super User

Hi @DannyAlfa ,

With the info that you have given it is quite difficult to say any reason for this.

 

You need to check

how the timings data is flowing in?

Does the source of the timings table have the right data?

is that related in any way to this new updated data?

Is the new data impacting the timing table?

 

Could be anything of the above reasons. Potentially there can be many other reasons for this.

 

One simple hack would be to drop the timings table and recreate the timings table. You need to take a call on how expensive this can be in your case before doing this

 

Regards,

Thanks for your respose,

 

I have reset the timings table using the same 2 measures I had before: -

 

Max Time = FORMAT(MAXX('Till Data_v2','Till Data_v2'[Time]), "HH:mm:ss")
Min Time = FORMAT(MINX(FILTER('Till Data_v2','Till Data_v2'[Time] < TIME(2, 0, 0) || 'Till Data_v2'[Time] > TIME(11, 59, 0)), 'Till Data_v2'[Time]), "HH:mm:ss")
 
The only other field in the table is the Subject Name which is exactly the same. I have conditional formatting on both Min Time & Max time so it shows a specific colour based on the value and that is identical also.

@DannyAlfa ,

Can you share some sample dummy data from the table that you are using to get the timing table? It would be great if you also can share the expected output for the data set that you are sharing in the timing table

 

Regards,

Thanks @Thejeswar I have attached a dummy data set, within this dataset I have added columns within excel to split Date & Time and added a field to give me the day of the week also.

The output should look like the below (Tills down the left): -

 

DannyAlfa_0-1729680215890.png

 

DateReceipt numberReceipt typeCategorySKUItemVariantModifiers appliedQuantityGross salesDiscountsNet salesCost of goodsGross profitTaxesPOSStoreCashier nameCustomer nameCustomer contactsCommentStatus
21/10/2024 23:35103-99999SaleBAR SNACKS12345Crispy Chips 50gBBQNone11.501.50.750.750.25Bar AHotel AJohn DoeJane Smith123-456-7890N/AClosed
21/10/2024 23:3050-12345SaleDRAUGHT BEERS67890Lager PintRegularNone15052.52.50.8Bar BHotel BJane RoeMike Lee987-654-3210N/AClosed
21/10/2024 23:2576-54321SaleSOFT DRINKS13579Cola 200mlDietNone23031.21.80.5Bar CHotel CSam SmithClara Johnson555-123-4567N/AClosed
21/10/2024 23:20103-88888SalePREMIUM SPIRITS24680Premium Whiskey 50mlDoubleNone1808351.2Bar DHotel DAlex KingRick James222-333-4444N/AClosed
21/10/2024 23:1582-77777SaleHOUSE SPIRITS97531Vodka 50mlSingleLemon Slice16.506.524.50.9Bar EHotel EChris BrownSarah Connor444-555-6666N/AClosed

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.