Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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 :
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
88 | |
85 | |
68 | |
68 | |
64 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |