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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
admin11
Memorable Member
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

 

admin11_0-1616413896576.png

 

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
v-cazheng-msft
Community Support
Community Support

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:

v-cazheng-msft_0-1616565661298.png

 

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.

 

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

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:

v-cazheng-msft_0-1616565661298.png

 

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.

 

amitchandak
Super User
Super User

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

 

measure slicer
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://www.youtube.com/watch?v=vlnx7QUVYME

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.