Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
28 | |
23 | |
12 | |
8 |
User | Count |
---|---|
76 | |
51 | |
45 | |
16 | |
12 |