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
des_san
Advocate I
Advocate I

Help with report visual

Greetings power bi friends,

 

I have a dataset that looks similar to this:

App IDCreated DateApproved DateCancelled DateCompleted Date
0011/5/20231/6/2023 1/10/2023
0021/6/2023 1/8/2023 
0031/10/20231/11/2023  
0041/12/2023   

 

My goal is to create a report visual of the data such that it looks like this:

SummaryThis MonthLast MonthYear to DateInception to Date
Created100120540800
Approved6080320590
Cancelled5050250350
Completed121664118

*Where each value in the table is a count of "App ID"

 

Do you have a solution? Please advise how best to approach this. Thank you,

1 ACCEPTED SOLUTION
des_san
Advocate I
Advocate I

Hi Ibendlin, thank you for the reply. I figured out my solution by using the Unpivot Columns feature in Data Query.

 

In summary, I duplicated my original data query, removed unecessary columns, selected the date columns and unpivoted them so that I had a new table with three columns: the [App ID] column, an attribute column representing the date name, and a value column representing the date value. I was then able to create a relationship between the original data query and the duplicate query using the Relationship Manager in the Model section of Power BI desktop.

Following that, I created several measures to count MTD, LMTD, YTD, and ITD based on the duplicate table's data.

 

If someone else stumbles upon this post and is facing a similar challenge, feel free to reply or message me and I'd be happy to go into more detail.

View solution in original post

2 REPLIES 2
des_san
Advocate I
Advocate I

Hi Ibendlin, thank you for the reply. I figured out my solution by using the Unpivot Columns feature in Data Query.

 

In summary, I duplicated my original data query, removed unecessary columns, selected the date columns and unpivoted them so that I had a new table with three columns: the [App ID] column, an attribute column representing the date name, and a value column representing the date value. I was then able to create a relationship between the original data query and the duplicate query using the Relationship Manager in the Model section of Power BI desktop.

Following that, I created several measures to count MTD, LMTD, YTD, and ITD based on the duplicate table's data.

 

If someone else stumbles upon this post and is facing a similar challenge, feel free to reply or message me and I'd be happy to go into more detail.

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

 

What does "Year" mean?  Calendar year?

What does  "Inception" mean?

Helpful resources

Announcements
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.