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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
gunicotra
Helper II
Helper II

buble chart with date on X axes

Hi to all,

I have 5 products and I would like to plot on a scatter/buble chart the estimated time when each of them will hit the specific revenue target (i.e.: for product 1, the estimated date is 15/04/2021, for prod.2 the estimated date is 28/04/21 etc). The Y-Axis could for example be the rolling product revenue while, if necessary, the buble dimension could be the target.
I used a simple scatter chart, with a column "Products" and a measure "Estimated.Date.Target" which has the estimated dates of reaching the target, per products. 

However, as soon as I droped "Estimated.Date.Target" on "X Axis", I had the following error message:

 

gunicotra_0-1617197086690.png

 

I tried also using other scatter/buble visuals but I always had problem in showing what I have in mind!

Can anyone help me?

Thanks a lot in advance!

G

 

 

1 ACCEPTED SOLUTION

Hi @gunicotra ,

Seems like the Estimated.Date.Target is a measure, including measure [Time.Target] and measure [MaxDate].

In Scatter chart, measure could not be put in X-axis, the X-axis must be a meaningful column, not a measure.

 

You can try to convert all your measures to calculated columns and then put it in the X-axis.

 

In addition, I have noticed that you used VALUES() in the formula, if you have different year values in [Year] column, the visuals would still get error.

 

Supposing the max date is calculated for each year, you can create the column like this:

MaxDate = CALCULATE(MAX('Table'[Date]),ALLEXCEPT('Table','Table'[Year]))

 

Best Regards,
Community Support Team _ Yingjie Li
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

4 REPLIES 4
amitchandak
Super User
Super User

@gunicotra Scatter visual can only have one axis taken an unsummarized measure that is x-axis. Assuming y is already a number.

Can share the formula for measure Estimated.Date.Target

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

 

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

Hai amitchandak!

sure:

Estimated.Date.Target = [MaxDate]+[Time.Target], where:
 
Time.Target = round(DIVIDE(([TargetFG]-[FG_YEAR]),[FG.Last.Week.])*7,0) --> gives the remaining days to reach the revenue target ("TargetFG"), starting from the last revenue update ("FG_YEAR"), at a FG.last.Week weekly revenue production rate.
 
MaxDate = calculate(MAX('TABLE'[DATA_IN]),'TABLE'[YEAR]=VALUES('TABLE'[YEAR])) --> gives the last day of the product revenue in the data table.
 
 

Hi @gunicotra ,

Seems like the Estimated.Date.Target is a measure, including measure [Time.Target] and measure [MaxDate].

In Scatter chart, measure could not be put in X-axis, the X-axis must be a meaningful column, not a measure.

 

You can try to convert all your measures to calculated columns and then put it in the X-axis.

 

In addition, I have noticed that you used VALUES() in the formula, if you have different year values in [Year] column, the visuals would still get error.

 

Supposing the max date is calculated for each year, you can create the column like this:

MaxDate = CALCULATE(MAX('Table'[Date]),ALLEXCEPT('Table','Table'[Year]))

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi! perfect thanks. Your solution worked for me 🙂

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors