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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
bhatsu
Regular Visitor

Dashboard

Hi Folks,

 

I have a data set, with columns like Metrics name, Date, Numerator, Denomintaor
Metrics Name= Text
Date=Date
Numerator/Denominator= Numbers ( Also contains Negative values)

So, we have to show Num divided by Den, group by Metrics name and bifurcated in Dates. So for an example, in Matrix visual, we will have Rows=Metrics Name
Column=Date
Values=Num/Deno
along with the additional columns
Current to Previous Month variance
Q1, Q2,Q..... depending upton what month is being selected in Date Slicer Visual
YTD
PY ( Previous Year)

Visual should be like this:
Metrics Name PreviousMonth  Current Month MonthVariance                         6 Month Trend Sparkline  Q1  Q2  YTD  PY
ABC                   223445               34567             (Curren-Previous)/Previous %
DEF                   212345               36879                 Same as above
GHI                   223564               34566                 Same as above

And Condition is:
Whatever month_year is selected on the Slicer, that month should be considerd as the current month hence all those numbers should change dynamically.
2. There should be no interm month over month variance for example, it should reflect as showed in the above structure. Reffering to quick measures.


Please help.

Thanks in advance.

 

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @bhatsu

For your first condition,

create a calendar date table, then manage the relationship between calendar table and the original table without making this relationship active.

 

4.png

 

create a measure

currentmonth = ALLSELECTED('Table'[month-year])

 add the month column from the calendar date table to a slicer,

5.png

 

 

Best Regards

Maggie

v-juanli-msft
Community Support
Community Support

Hi @bhatsu

Do you accept to make some changes on Power BI Desktop? It seems that what's you want need to be obtained by DAX.

 

Best Regards

Maggie

Hi Maggie,

Yes, I am doing it on Power Bi desktop and it does need Advanced DAX help.
Let me know if question asked above isn't understandable.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.