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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Spoorthi50
New Member

Ho do i put this in DAX? Select sum(Indicator) Total_Loss from Tablewhere Indicator = Total Loss;

I have thi table :

MonthIndicatorValue $ (mln USD)Value %Value Target %
JanTotal Loss1.230.25%0.30%
JanUNIL2.3183.33%20%
FebTotal Loss1.340.28%0.30%
FebUNIL-0.23-17.11%20%
MarTotal Loss2.320.40%0.30%
MarUNIL1.4763.26%20%
AprTotal Loss4.570.71%0.30%
AprUNIL3.1669.20%20%
MayTotal Loss3.330.66%0.30%
MayUNIL-1.1170.11%20%
JunTotal Loss2.310.43%0.30%
JunUNIL-0.24-18.99%20%
JulTotal Loss3.150.67%0.30%
JulUNIL1.2360.12%20%

 

I wnat to see this in a table visual like this:

Total Loss(%, mln$)
MonthlyYTDTarget
0.25%0.45%0.30%
$1.33$17.57 

 

UNIL(%, mln$)
MonthlyYTDTarget
193.00%91.00%20.00%
$2.60$15.91 

 

How to do it?

 

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @Spoorthi50 ,

 

I don't know how to get values like $1.33 or 193.00%. Would you like to describe the formula or relationship?

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi @v-eachen-msft ,


@v-eachen-msft wrote:

Hi @Spoorthi50 ,

 

I don't know how to get values like $1.33 or 193.00%. Would you like to describe the formula or relationship?

 


 

Monthly column, is the same % and $ values for the selected month. YTD is the cumulative sum till the selected month. Values shown in the smaller table sample are some random numbers.

 

Hi @Spoorthi50 ,

 

You can not put currency and percentage in the same column because they are different types.

Here is my test file

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Thank you @v-eachen-msft . I tried that as well. But Business wanted to see it in that format only.

Thanks much for your help:).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors