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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
deven11
Frequent Visitor

need help to perform 2024 net wt(100%) - 2023 net wt(100%)/2023 net wt(100%) using matric visuals

deven11_0-1728364163942.png

 

full image below

 

deven11_2-1728364353556.png

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi,

Thanks for rajendraongole1's concern about the problem, and i want to offer some more information for user to refer to.

hello @deven11  , you can refer to the following solutions

1.Create a calendar table.

 

Calendar = ADDCOLUMNS(CALENDAR(DATE(2023,1,1),DATE(2024,12,31)),"Year",YEAR([Date]),"Month",MONTH([Date]))

 

and create a 1:n relationship between tables

vxinruzhumsft_1-1728457830721.png

2.Create the following measures.

 

Sum_netwet = SUM(ZIPQ[Net Wt(100%)])
pre_netwt =
IF (
    ISINSCOPE ( 'Calendar'[Month] ),
    CALCULATE (
        [Sum_netwet],
        OFFSET (
            -1,
            ALLSELECTED ( 'Calendar'[Month] ),
            ORDERBY ( 'Calendar'[Month], ASC )
        )
    ),
    CALCULATE (
        CALCULATE (
            [Sum_netwet],
            OFFSET (
                -1,
                ALLSELECTED ( 'Calendar'[Year] ),
                ORDERBY ( 'Calendar'[Year], ASC )
            )
        )
    )
)
_difference = DIVIDE([Sum_netwet]-[pre_netwt],[pre_netwt])

 

 

 

 

 

3.Put the following field to the matrix,

vxinruzhumsft_2-1728457955829.png

Output

vxinruzhumsft_3-1728457979470.png

 

vxinruzhumsft_4-1728458003188.png

 

Best Regards!

Yolo Zhu

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

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1728443500756.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1728443500756.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

 

HERE I ATTCHED PBIX FILE AS PER MY REQUIREMENT. PLEASE FIND FILTER ON THAT FILE AND AS PER FILTER OF YEAR AND MONTH I NEED GROWTH %

 

PLEASE HELP ME

deven11_0-1728455817909.png

 

I have already shared my solution with you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
deven11
Frequent Visitor

Anonymous
Not applicable

Hi @deven11 

I offered a solution above,  it is the 7th message, and the solution Ashish_Mathur  offered is the 8th message, you can refer them.

 

Best Regards!

Yolo Zhu

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

Anonymous
Not applicable

Hi,

Thanks for rajendraongole1's concern about the problem, and i want to offer some more information for user to refer to.

hello @deven11  , you can refer to the following solutions

1.Create a calendar table.

 

Calendar = ADDCOLUMNS(CALENDAR(DATE(2023,1,1),DATE(2024,12,31)),"Year",YEAR([Date]),"Month",MONTH([Date]))

 

and create a 1:n relationship between tables

vxinruzhumsft_1-1728457830721.png

2.Create the following measures.

 

Sum_netwet = SUM(ZIPQ[Net Wt(100%)])
pre_netwt =
IF (
    ISINSCOPE ( 'Calendar'[Month] ),
    CALCULATE (
        [Sum_netwet],
        OFFSET (
            -1,
            ALLSELECTED ( 'Calendar'[Month] ),
            ORDERBY ( 'Calendar'[Month], ASC )
        )
    ),
    CALCULATE (
        CALCULATE (
            [Sum_netwet],
            OFFSET (
                -1,
                ALLSELECTED ( 'Calendar'[Year] ),
                ORDERBY ( 'Calendar'[Year], ASC )
            )
        )
    )
)
_difference = DIVIDE([Sum_netwet]-[pre_netwt],[pre_netwt])

 

 

 

 

 

3.Put the following field to the matrix,

vxinruzhumsft_2-1728457955829.png

Output

vxinruzhumsft_3-1728457979470.png

 

vxinruzhumsft_4-1728458003188.png

 

Best Regards!

Yolo Zhu

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

 

 

rajendraongole1
Super User
Super User

Hi @deven11 - your question is not clear, can you please share in detail what is the current value and what is expected?

 

also share pbix file by removing the sensitive data it helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





how to share pbix file

want to perform 59342-55647/55647

 

 

deven11_1-1728368824391.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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