This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
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,
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 43 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |