March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello All -
Here is the new sample data link,
https://drive.google.com/file/d/1QcQefctJr36mB45uwi_98guZ8Vqc-GDb/view?usp=sharing
How to display additional ROW of Apr% & Bkr%, the calculations are:-
Apr% = Apr# / App#
Bkr% = Bkr# / App#
Also, how to display YTD for these 2 additional rows as %?
Thank You
Regards,
gk03
Solved! Go to Solution.
Hi @Anonymous ,
I see your problem has been solved in the following post.
Solved: How to perform % calculation and also YTD % in matrix visual
So please consider Accept this reply as the solution to help the other members find it more quickly.
Best Regards,
Winniz
Also, here is the sql sample data:-
--CREATE TABLE dbo.vw ( app_dt date, borr_nm varchar(10), mt varchar(10), mtvalue smallint ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Fr', 'App #', 14 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Fr', 'Apr #', 9 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Fr', 'Apr %', 64 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Fr', 'Bkr #', 9 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Fr', 'Bkr %', 64 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'App #', 92 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'Apr #', 0 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'Apr %', 0 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'Bkr #', 0 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'Bkr %', 0 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Pr', 'App #', 65 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Pr', 'Apr #', 49 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Pr', 'Apr %', 75 ) --INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Pr', 'Bkr #', 50 ) ----INSERT INTO dbo.vw VALUES ( '2020-11-01', 'Nw', 'Bkr %', 76 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Fr', 'App #', 13 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Fr', 'Apr #', 7 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Fr', 'Apr %', 53 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Fr', 'Bkr #', 7 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Fr', 'Bkr %', 53 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Nw', 'App #', 499 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Nw', 'Apr #', 0 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Nw', 'Apr %', 0 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Nw', 'Bkr #', 0 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Nw', 'Bkr %', 0 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Pr', 'App #', 386 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Pr', 'Apr #', 374 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Pr', 'Apr %', 96 ) --INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Pr', 'Bkr #', 379 ) ----INSERT INTO dbo.vw VALUES ( '2020-12-01', 'Pr', 'Bkr %', 98 ) SELECT * FROM dbo.vw --DROP TABLE dbo.vw
Hi @Anonymous ,
I see your problem has been solved in the following post.
Solved: How to perform % calculation and also YTD % in matrix visual
So please consider Accept this reply as the solution to help the other members find it more quickly.
Best Regards,
Winniz
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |