Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have to create a DAX which calculates the total of a column based on date and then divide the row total of that with the total value.
eg.
So, i want to create a measure which take amount total value based on date and calculate amount(%) by dividing individual row by total amount in the same way as shown in table.
Kindly suggest.
Solved! Go to Solution.
Thank you Guys for the help..
I also tried using this :
Total = CALCULATE(Table[Amount],ALLEXCEPT(Table,Table[Date))
and it worked !!
Thanks for your help as well.
Thank you Guys for the help..
I also tried using this :
Total = CALCULATE(Table[Amount],ALLEXCEPT(Table,Table[Date))
and it worked !!
Thanks for your help as well.
Hi @Anonymous ,
You could create a measure as below:-
Measure =
VAR total =
CALCULATE (
SUM ( 'Table (2)'[Amount] ),
ALL ( 'Table (2)'[Variety] ),
'Table (2)'[Date] = MAX ( 'Table (2)'[Date] )
)
RETURN
DIVIDE ( MAX ( 'Table (2)'[Amount] ), total )
Refer attached file.
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi
first measure , sales by day by variety==>
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |