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
Hi Everyone,
I need to do sum of count column and result will be shown as final column.
If there is any 2 same dates then count column will do sum else returns count column value.
Can anyone help ?
Solved! Go to Solution.
Hi,
try this:
Hi @krishb1414 ,
You could create a calculated column.
final = CALCULATE(SUM('Table'[count]),FILTER('Table',[Date]=EARLIER('Table'[Date])))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @krishb1414 ,
You could create a calculated column.
final = CALCULATE(SUM('Table'[count]),FILTER('Table',[Date]=EARLIER('Table'[Date])))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
try this:
Based on your dataset :
DateTable =
DATATABLE (
"Date", DATETIME,
"count", DOUBLE,
{
{ "01/08/2023", 0.5 },
{ "01/08/2023", 0.5 },
{ "02/08/2023", 0.5 },
{ "02/08/2023", 0.5 },
{ "03/08/2023", 0.5 },
{ "04/08/2023", 0.5 },
{ "04/08/2023", 0.5 }
}
)
Create a summarized table like below :
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 |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |