Forum Discussion

admin11's avatar
admin11
Memorable Member
5 years ago
Solved

How to Combine Column Expression with AMOUNT ?

Hi All

 

I have one of the Revenue chart , when i plot i need to Revenue by month , i need to Click on the 1_REV Button. 

 
1_REV =
SWITCH(TRUE(),
'GL'[Reporting Code]>=00001 &&'GL'[Reporting Code]<=00019,"REV",
BLANK())
 

Can some one advise me how to combine Above column with Feild name = Amount ? 

So that user don't need to click 1_REV

 

I try below , it cannot work :-

REV_AMOUNT = ('GL'[Reporting Code]>=00001 &&'GL'[Reporting Code]<=00019,"REV")XAMOUNT

 

 

Enclosed below link my PBI file :-

https://www.dropbox.com/s/qudpuq50vl51coy/PBT_V2021_392%20TI_SI_GL%20Combine%201_REV%20with%20Amount.pbix?dl=0

 

Paul

  • Hi admin11 

    You can create a Measure and use this Measure to create visual.

     

    REV_AMOUNT = CALCULATE([AMOUNT],FILTER(GL,GL[Reporting Code]>=00001&&GL[Reporting Code]<=00019))

     

    The result looks like this:

     

    Best Regards

    Caiyun Zheng

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

2 Replies