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.
Hello
is it possible to store all the values of column human in a variable in Dax when the hour <3. ? So only the values A and B will be stored in a variable. I want to use this variable in the calculation that I have. I want to uses the variable in values function like human in values (variable that is defined and keeps both A and B)
Solved! Go to Solution.
Hi @razieh1990
Please try the following measure:
Measure = CALCULATE(MAX('Table'[HUMAN]),FILTER('Table','Table'[HOUR]<3))
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @razieh1990
Please try the following measure:
Measure = CALCULATE(MAX('Table'[HUMAN]),FILTER('Table','Table'[HOUR]<3))
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
11 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
7 |