Forum Discussion

Sridhar_Cheruvu's avatar
Sridhar_Cheruvu
Frequent Visitor
8 years ago

how to countrows with conditional filter

 Hi Friends,

 

I need your help in obtaining the following output.

I have provided the base data and the output required.

 

Base Data :

 

Product    Date         Value
-------    --------        -----
VA2032    2-Oct-17    9.2
VA2032    3-Oct-17    4.3
VA2032    4-Oct-17    7.4
VA2032    5-Oct-17    3.3
VA2151    4-Oct-17    2.4
VA2151    5-Oct-17    3.3
VA2151    8-Oct-17    6.1

Required Output:

 

Product      2-Oct-17     3-Oct-17     4-Oct-17     5-Oct-17     6-Oct-17      7-Oct-17     8-Oct-17     Days     Total    Average
VA2032          9.2                4.3              7.4               3.3                                                                         4         24.2       6.05
VA2131                                                 2.4                3.3                                                      6.1              3         11.8       3.93

Please guide me with the steps since I am new to power BI.

TIA,

Sridhar

No RepliesBe the first to reply