Forum Discussion
Dynamic total measure , based on slicer
- Anonymous3 years ago
Hi gav1991 ,
Please try below code to create a [Acutal %] measure.
Actual % = CALCULATE ( DIVIDE ( SUM ( 'Order'[Orders placed ≤ 1 Day] ), SUM ( 'Order'[Total No of Orders placed] ) ), ALLEXCEPT ( 'Order', 'Order'[Customer] ) )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
123abc Hiya, thanks for your reply. However, i do not have a useful date in my data, i have from and to, however the data is built on the week number, is there a way I could use the above DAX around the week number?
I'm attaching the pbix file, - link for google drive
https://drive.google.com/file/d/1PYx1PixlCeAh9t_9xpCILgEwLF-0lzed/view?usp=sharing
this is how the chart looks currently, when i select Customer A in slicer.
I'm looking to chart to look like below (made in excel)
can you help please. much appricated
ok i try to solve this and will ans you soon.