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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ofrede
New Member

Multiple Y-axis from Cube data

Hi,

 

I have a cube to which I connect. It has a rather simple fact with some meassures:

 

Prices:

Date

Value

 

The Index is then connected to my Commodities dimension:

Commodities:

Name

 

So imagine my Prices measures contains prices for different Commodities for certain dates and combined with the Commodities dimension, I can get the following information:

 

DateCommodityValue
2000-01-01Ship1000000
2000-01-01Car5000
2000-01-01Banana0.5

 

So now I have a fine index of different commodities.

But if I want to get this data into a graph, and I want to show Ships and Bananas on the same graph, my Bananas "disappears" (or rather: is very close to the 0-value on the Y-axis), compared to Ships.

 

What I would like to do is to put the Prices.Value where the commodity = Ship into the graphs "Values" field and Prices.Value where the commodity = Banana into the graphs "Secondary values" field.

 

As mentioned in the headline, I get my data from a cube, so (I guess) it is limited how many DAX-calculations I can make in PowerBI.

 

Is it possible to do something like the above? Or can it only be done by restructuring the cube?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ofrede ,

 

You may try to add a measure to "seperate" the smallest and the biggest value like this:

Secondary = 
var _sum=SUM('Table'[Value])
return IF(_sum<2,_sum,BLANK())

Eyelyn9_2-1635125975583.png

 

Or enable the Zoom slicer options:

zoom slicer.gif

 

Best Regards,
Eyelyn Qin
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
Anonymous
Not applicable

Hi @ofrede ,

 

You may try to add a measure to "seperate" the smallest and the biggest value like this:

Secondary = 
var _sum=SUM('Table'[Value])
return IF(_sum<2,_sum,BLANK())

Eyelyn9_2-1635125975583.png

 

Or enable the Zoom slicer options:

zoom slicer.gif

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Solution accepted!

 

And it gave me the hint for an even better solution (in my case)!
I have my data in groups (Fruits, Small vehicles, Large vehicles) which I can then filter on instead of the value.

So based on my real-life example, I have created a few new measures like this one:

Fruit =CALCULATE(sum(Commodities[Value]),CommoditySpec[Group]="Fruit")

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.