cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Memorable Member

## 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...

Paul

1 ACCEPTED SOLUTION
Community Support

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 2
Community Support

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.

Super User

@admin11 , are you looking for a measure slicer with Title?