Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Sridhar_Cheruvu
Frequent Visitor

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

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.