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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Using DAX conditional statement in Cross Tabular Pivot.

Hi All,

In the below Dataset I am trying to get a solution to the following questions while keeping the Month wise cross-tabulated format of Pivot :

 

1.  The products which have been billed less than 2 times.

2.  The products which have not billed from the last 6 months (Considering the Last date of Transaction being 31/12/2019).

 

 

I am very new to DAX and want to learn the same. I am a little confused if a cross-tabulated pivot will provide the desired outcome. Link to file:- @https://1drv.ms/x/s!Aph8be9g3hZoh1M_gYqcdLNxGgqs

 

 

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi there.

 

Please inspect the file to see how you get what you want and much, much more.

 

Best

D

Anonymous
Not applicable

Hi @Anonymous,

Thanks for the prompt reply. However, I am unable to open the file because of some error that says: object reference not set to an instance of an object.
While searching for the solution, It came out that I need to downgrade the PowerBi App in my system to open the file as per this article on community. 

Any help will be hugely appreciated.

Thanks Again.

Anonymous
Not applicable

I have just installed the latest version of PBI Desktop:

 

Release:
March 2020

Product Version:
2.79.5768.1082 (20.03) (x64)

 

and the file opens in it without a hitch. I attach it again. If this does not work... then I can't do anything else.

 

Best

D

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.