The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi There,
I am struggling to create a simple calculation and it might be sound so silly but please help me.
I am trying to create Sum of two values(A+B) in which A is a calculative Measure and B is Column present in data.
I am not sure what logic i am missing. Request you to please help.
Please see below data with desire result:
I hope to receive answer soon. @Greg_Deckler @Ashish_Mathur please help.
Thanks
Ashish
Solved! Go to Solution.
Hi @Anand24
So i have just created one more meausre where i took the Sum of that Sales Column
Measure_2=sum(Sales)
and then i simply added both of the measures:
Total =[Cummulative Total]+[Measure_2]
Regards,
Ashish
@ashc_cool10 ,
Please post your solution here and mark it as a solution so that others with similar issue would find help !
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @Anand24
So i have just created one more meausre where i took the Sum of that Sales Column
Measure_2=sum(Sales)
and then i simply added both of the measures:
Total =[Cummulative Total]+[Measure_2]
Regards,
Ashish
Hi @ashc_cool10 ,
Try the below DAX in a new measure:
Total = [Cummulative Total] + SUM(Sales)
This is with an assumption that "Cummulative Total" is name of calculated measure and "Sales" is the name of column.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @Anand24 ,
I already treid this but values are not coming right.
here [Better RT] is measure and HSLVT is our column which is available in data
54014036.1+49327817=103341853
here vlaues in Total_2 in row 1st should appear 54014036.1+49327817=103341853
Hi,
Share the download link of the PBI file.
Hi @Ashish_Mathur ,
I am able to solve this issue but thanks again for your prompt resposne.
Thanks,
Ashish
You are welcome.
@ashc_cool10 Check the implicit aggregation on HSLVT in your table. Make sure it is Sum and not something like Min or Max or Average. If it is, then change SUM to MIN, MAX, AVERAGE, etc.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
80 | |
78 | |
44 | |
39 |
User | Count |
---|---|
150 | |
116 | |
68 | |
64 | |
58 |