Forum Discussion
Subtotal row
Hi Anonymous ,
We can use the following steps to meet your requirement.
1. Create a table that contains medida name, min value and max value.
2. Create a measure that defines if value is greater than the minR and less than the maxR, then count rows the table. You can replace it with your calculation logic.
Measure = IF(SUM('Table'[time]) >= MIN('Table (2)'[MinR]) && SUM('Table'[time]) <= MAX('Table (2)'[MaxR]),COUNTROWS('Table'),BLANK())
We put the Name in Rows, Date in column and measure in values. The result like this,
If it doesn’t meet your requirement, could you please show the exact expected result based on the table that we have shared?
BTW, pbix as attached.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you very much I think that the solution can be found by there, attached the excel to make it more comfortable.
I haven't put it on, but I have created a calendar table.
Greetings.
https://drive.google.com/file/d/1bsk4INrJyMQfkfben9W1E_2rCz7SjTGS/view?usp=sharing