Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I am new to using power BI and need support with the following , I have my data in the following format
I am looking to aggreagte the total number of IDs based on the submit date -- month wise
Solved! Go to Solution.
Hi @poojaghuman
You can create a new column :
Sum = SUMX(FILTER('Table',[SUBMIT DATE]<=EARLIER('Table'[SUBMIT DATE])),[ID])
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Create a Calendar Table with calculated column formulas for Year, Month name and Month number. Sort the Month name column by the Month number. Create a relationship (Many to One and Single) from the Date column of the Data Table to the Date column of the Calendar Table. To your visual, drag Year and Month name from the Calendar Table. Write these measures:
ID count = distinctcount(Data[ID])
ID count YTD = calculate([id count],datesytd(calendar[date],"31/12"))
ID count since inception = calculate([id count],datesbetween(calendar[date],minx(all(calendar),calendar[date]),max(calendar[date])))
Hope this helps.
Hi @poojaghuman
You can create a new column :
Sum = SUMX(FILTER('Table',[SUBMIT DATE]<=EARLIER('Table'[SUBMIT DATE])),[ID])
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello
thanks for your response, this didnt help as it calculated the SUM of the values in the ID column
What i needed was the total number of IDs created prior each date
Thank you for the response, Apologies for the delay in responding back
I did try this one
I get same value for all dates .. what i need is the total ID count for each date -- "Total IDs created until that date"
I need
Hi @poojaghuman ,
Assume the table name is 'Ids Received' with columns , ID, Submitted Date
You can then write a measure
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |