Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello Community , I am migrating a tableau dashboard to PowerBi dashboard. I am stuck with few of the measures of Tableau that I am finding tricky to write in DAX.
One of the measure is :
{ FIXED DATEPART('weekday', [Start Time]), DATEPART('hour', [Start Time]): AVG(
{ FIXED DATETRUNC('day', [Start Time]), DATEPART('weekday', [Start Time]), DATEPART('hour', [Start Time]):
COUNTD([Warehouse Name])}
)}
I came up with this DAX expression
If anyone has done this or can help me understand & write this expression will be helpful.
Thank you
Thank you, Chenwu zhu for replying! By "field name " you mean column or what. I didn't get it , can you please elaborate that can help me to understand a little better.
Thanks
Hi @newbieNG ,
The name given to a total or summarize column, enclosed in double quotes.
Please refer this link.
SUMMARIZE function (DAX) - DAX | Microsoft Docs
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @newbieNG ,
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
57 | |
22 | |
21 | |
19 | |
16 |
User | Count |
---|---|
87 | |
87 | |
52 | |
37 | |
23 |