Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I'm looking for a way to create a table like below,
| Name | Customer ID | Sales No | Product | Jan-18 | Feb-18 | Mar-18 | Apr-18 | May-18 | Jun-18 | Jul-18 | Aug-18 | Variance |
| A | C1 | S1 | X | 1091 | 1199 | 1125 | 1073 | 1036 | 1066 | 1032 | 1195 | 163 |
| B | C2 | S2 | Y | 1120 | 1016 | 1194 | 1059 | 1002 | 1002 | 1063 | 1116 | 53 |
| C | C3 | S3 | Z | 1046 | 1035 | 1115 | 1002 | 1126 | 1140 | 1036 | 1007 | -29
|
I tried matrix visual,
Rows - Name CustomerID, Sales No and Product
Columns - Month
Values - Sales and Variance
Unfortunately the visual shows variance for every month.
Is there any way to attain this?
Solved! Go to Solution.
You may try the measure below.
Measure = IF ( HASONEFILTER ( Table1[Month] ), [Sales], [Variance] )
You may try the measure below.
Measure = IF ( HASONEFILTER ( Table1[Month] ), [Sales], [Variance] )
It is not working. I'm facing the same issue like this when I create measure using another measure,
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 46 | |
| 32 | |
| 21 | |
| 17 | |
| 17 |