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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
hummes
Regular Visitor

help with date calculation and report building

Hi community,

searching for some help for the following:
I have a table with entries..each rows a job with different dates.somehwat like this..

In powerBi I added all those additional columns for date calculation to my initial excel source.

table.png

 

 

 

1. question: Can I avoid this and do this with a measure / DAX?

 

I added 3 addtional grouping colums for this 3 calculated datediff in which I group this depending on how many days (e.g. how many are less than 1day, how many are  2-3 days, ...) I currently use grouping function for this with list, but this gives me the issue that I can only build the groups on existing datediff. 

This leads to 2nd question: Can I do this easier / Better? Also probably without adding additional columns?

 

And this leads to the 3rd and last question:

I added another 3 columns related to 3 tables (which holds the same data in each table) to order my data the same way all the time. Can I avoid this as well?

 

Thanks for your help, I hope my issue is explained clear enough

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@hummes ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?
Appreciate your Kudos.

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@hummes ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?
Appreciate your Kudos.

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

@amitchandak 

OK, I try to elaborate a bit.

 

1. Topic: using DAX (or whatever tech) instead of this 3 (DATEDIFF) columns?  Would this be possible?

2. Topic Grouping: Can I do this with DAX (or whatever tech)  instead of adding columns?

bishot.png

 

and how can I remove the solution...i missclicked 🤔

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors