Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
The following is a sample of my dataset and I would like to derive how much time I have worked each day.
In the above data, note that the 3rd column is an incremental value.
I'm able to create a report that shows incremental data everyday but what I'm looking for is to show data that I logged each day. Like:
Please advise.
HI @Anonymous ,
Based on your sample data,
Here is the measure you can use:
Hrs total for Task = CALCULATE(SUM('Table (2)'[Hrs]), ALLSELECTED('Table (2)'[Task]))
Let me know if this works.
Thanks,
Tejaswi
It's still the same, here's the output:
Hi @Anonymous ,
Can you be more specific with your requriements?
How did you get this data from your sample data? ( what is the calculation you are using to get this?)
Thanks,
Tejaswi
Hi @Anonymous ,
My requirement is to report data like this, and need help!
As you see in my previous post, I'm only able to get accumulated data (7, 11 and 14).
Thanks!
Hi @Anonymous ,
Create a new index columns thru edit queries
Add these two DAX columns and give a try.
1. to get the sum by by dates
Total Hours bY category = SUMX(FILTER(ALL('Table (2)'),[Date]=EARLIER('Table (2)'[Date])),[Hrs])
2. Subtract from preious row.
Column 3 = VAR Index = 'Table (2)'[Index] VAR Reference = 'Table (2)'[Task] VAR Prevhrs = CALCULATE ( FIRSTNONBLANK ( 'Table (2)'[Total Hours bY category], TRUE () ), FILTER ( 'Table (2)', 'Table (2)'[Index] = Index - 1 && 'Table (2)'[Task] = Reference ) ) RETURN IF ( ISBLANK ( Prevhrs ), 'Table (2)'[Total Hours bY category], 'Table (2)'[Total Hours bY category] - Prevhrs )
Thanks,
Tejaswi
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
62 | |
61 | |
49 | |
45 |