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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Table summarize

Dear Sir

 

Good Morning

 

i have a table with 4 columns as shown below:

Capture.JPG

how can i convert(summarize) to below format by DAX:

convert.JPG

 

Thanks

Jyaul

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

your question covers many areas inside Power BI, ranging from data modeling, to DAX calculation.

For this reason, consider creating an Excel file that contains the sample data from the screen shot. Upload the file to onedrive or dropbox and share the link!

Data Modeling, here you will find an introduction into data modeling with Power BI:https://docs.microsoft.com/en-us/learn/paths/model-power-bi/?WT.mc_id=DP-MVP-5003068

I suggest creating

a dimension table containing the document IDs (from my understanding this is only the numeric part) and

a fact table, containing the document ID as key column and the submitted date column and the return date column.

You have to use a date table (the calendar table), almost everything about time intelligence can be found here: Time patterns – DAX Patterns

As there are two date columns in your fact table you will realize that only one relationship can be active, for this reason, read the following article: Welcome to Power BI theatre: Role-Playing Dimensions! - Data Mozart (data-mozart.com)

Hopefully, this provides the information you need to tackle your challenge.

 

Regards,
Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

Totally agree on @TomMartens post.

 

Calculation groups might also help you with this. Here is a small overview of what you can do with them:

Top 10 uses for Calculation Groups — Apex Insights: Power BI tips & tricks

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

TomMartens
Super User
Super User

Hey @Anonymous ,

 

your question covers many areas inside Power BI, ranging from data modeling, to DAX calculation.

For this reason, consider creating an Excel file that contains the sample data from the screen shot. Upload the file to onedrive or dropbox and share the link!

Data Modeling, here you will find an introduction into data modeling with Power BI:https://docs.microsoft.com/en-us/learn/paths/model-power-bi/?WT.mc_id=DP-MVP-5003068

I suggest creating

a dimension table containing the document IDs (from my understanding this is only the numeric part) and

a fact table, containing the document ID as key column and the submitted date column and the return date column.

You have to use a date table (the calendar table), almost everything about time intelligence can be found here: Time patterns – DAX Patterns

As there are two date columns in your fact table you will realize that only one relationship can be active, for this reason, read the following article: Welcome to Power BI theatre: Role-Playing Dimensions! - Data Mozart (data-mozart.com)

Hopefully, this provides the information you need to tackle your challenge.

 

Regards,
Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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