Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Power BI Community,
I have 5 minute interval timestamp in an hour I want to create a column that gives me Hour Index value as 11111111 for all the 5 minute timestamps in a hour and the 2 hour it should give 22222222222.... it should start not start from 1 for the next date it should increment sequentially as the data keeps adding up.
Please give a solution.
Hi all ,
@HotChilli , your ideas are very great. I tested the specific steps.
@Ibrahim_shaik , thank you for giving a specific description of the problem. Based on the ideas of @HotChilli, I will show you the specific steps.
1.The test table Table.
2.Right-click Table, select New column and input:
Hour Index Column = HOUR('Table'[time])+1
3.The outcome is in the following picture.
Best Regards,
Caroline Mei
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Use the Hour function and add 1.
https://learn.microsoft.com/en-us/dax/hour-function-dax?WT.mc_id=DP-MVP-4025372
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |