Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
In the dataset below I would like to get the final value which in this dataset is 1.05 using DAX. How can I do this please?
Thank you
Dataset:
heights
---------
1.1
0.5
9.3
1.05
Solved! Go to Solution.
Hi , @Anonymous
If I understand your requirement correctly that you want to get the final value of the table in data view,rigtht?
If it is , it is suggest to create a index column,then create formula as below:
final value = CALCULATE(SUM('Table'[heights]),FILTER('Table','Table'[Index]=MAX('Table'[Index])))
The result will show as below:
Best Regards,
Community Support Team _ Eason
Hi , @Anonymous
If I understand your requirement correctly that you want to get the final value of the table in data view,rigtht?
If it is , it is suggest to create a index column,then create formula as below:
final value = CALCULATE(SUM('Table'[heights]),FILTER('Table','Table'[Index]=MAX('Table'[Index])))
The result will show as below:
Best Regards,
Community Support Team _ Eason
@Anonymous , it can be max, lastnonblank value etc
Max(Table[A])
This depends greatly on which way your dataset is oriented at that very moment. maybe you can show me your usecase or some more info about your dataset. This way we can find a fitting solution.
\
Hi @Anonymous ,
Does your dataste have just this one column or it has someother columns?
Can you paste screesnhot of your sample data please?
DAX is written using some kind of logic which I don't understand in your case.
Thanks,
Pragati
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |