Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello all! My company is migrating to powerBI from Tableau and I've been trying to replicate some calculations. There is a fair amount of calculations that use LOD due to the level of detail of the databases and figures that can only be joined at a certail level. One of them is to calculate the Uptime of a machine first by the manchine itself and the weeks selected and then the sum of those values at week level, like this:
So my expected results are, for the inner fixed:
Whis this calc:
Solved! Go to Solution.
Hi @maddypena07 ,
I updated your sample pbix file(see the attachment), please check if that is what you want. You can create a measure as below to get it:
Sum of Uptime by Week = SUMX ( ALLEXCEPT ( 'dummt', 'dummt'[ISO Week] ), [Uptime (hrs)] )
Best Regards
@maddypena07 I don't really speak Tableau so much of the jargon is going over my head. What is it that you are having an issue with spefically. As in, which of the numbers you are trying to create is wrong? Everything looks good in your 2 images.
Thanks Greg!
I apologize for the confussion!. The final result of the tableau calculation (first image) should be:
the value 4883 on every row. I separated both FIXED results to try to resolve it steb by step.
I can get to the first part of the calculation (Inner fixed), the
{fixed [Weeks],[MachineID]:
sum([Uptime (hrs.)])}
And I get the results as the last image, but I don't know how to get that final result as a value for every row on the table.
Hi @maddypena07 ,
I updated your sample pbix file(see the attachment), please check if that is what you want. You can create a measure as below to get it:
Sum of Uptime by Week = SUMX ( ALLEXCEPT ( 'dummt', 'dummt'[ISO Week] ), [Uptime (hrs)] )
Best Regards