The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |