Forum Discussion
Implementing QlikSense logic into a Power BI DAX formula
Hey,
I created a utilization formula in Power BI, that gives me information on the utilization of a single engineer. What I am looking to do next is to have a view on a monthly level - for each country.
The problem is that when I visualize my formula for the "UI %" together with Month in a chart, I get a crazy number:
The formula for the UI % is:
I was able to adjust the formula myself
2 Replies
- ManchevB
Helper II
I was able to adjust the formula myself
- AnonymousNot applicable
Hi ManchevB
This is usually due to that the filter context has changed when filtering. As the measure consists of three parts: [Total Time in Hours equal or less than 14], [Distinct Count of Onsite_Date_WO] and MAXX('Hours3', 'Hours3'[Standard Hours Per Country]), you can add these parts to card visuals individually to check which part doesn't return the correct result. Then you can try to correct each part one by one to get the final result. Separating and testing each part can make it easier to verify the DAX expression.
If possible, can you provide some dummy data in table format and share the desired correct outcome? We can then use the dummy data to create a demo and test any possible DAX formula.
Best Regards,
Jing